@@ -173,8 +173,6 @@ class _MyHomePageState extends State<MyHomePage>
173173 mainAxisAlignment: MainAxisAlignment .center,
174174 crossAxisAlignment: CrossAxisAlignment .center,
175175 children: < Widget > [
176-
177-
178176 GFCard (
179177 content: Column (
180178 children: < Widget > [
@@ -188,7 +186,7 @@ class _MyHomePageState extends State<MyHomePage>
188186 GFToast (
189187 text: 'Happy New Year' ,
190188 button: GFButton (
191- onPressed: (){
189+ onPressed: () {
192190 print ("dfr" );
193191 },
194192 text: 'OK' ,
@@ -200,48 +198,50 @@ class _MyHomePageState extends State<MyHomePage>
200198 ),
201199 ),
202200
203- GFCard (
204- content: Column (
205- children: < Widget > [
206- GFTypography (
207- text: 'Floating Toast' ,
208- type: GFTypographyType .typo6,
209- ),
210- GFFloatingWidget (
211- verticalPosition: 80 ,
212- child: showToast? GFToast (
213- width: 300 ,
214- text: 'Happy New Year' ,
215- button: GFButton (
216- onPressed: (){
217- print ("df" );
218- },
219- text: 'OK' ,
220- type: GFType .outline,
221- color: GFColor .warning,
222- ),
223- ): Container (),
224- body: Column (
225- crossAxisAlignment: CrossAxisAlignment .center,
226- children: < Widget > [
227- Container (
228- alignment: Alignment .center,
229- child: GFButton (onPressed: (){
230- setState (() {
231- showToast = ! showToast;
232- });
233- },
234- text: 'Click to View the toast' ,
235- type: GFType .outline,
236- color: GFColor .warning,
237- ),
238- )
239- ],
240- )
241- )
242- ],
201+ GFCard (
202+ content: Column (
203+ children: < Widget > [
204+ GFTypography (
205+ text: 'Floating Toast' ,
206+ type: GFTypographyType .typo6,
207+ ),
208+ GFFloatingWidget (
209+ verticalPosition: 80 ,
210+ child: showToast
211+ ? GFToast (
212+ width: 300 ,
213+ text: 'Happy New Year' ,
214+ button: GFButton (
215+ onPressed: () {
216+ print ("df" );
217+ },
218+ text: 'OK' ,
219+ type: GFType .outline,
220+ color: GFColor .warning,
221+ ),
222+ )
223+ : Container (),
224+ body: Column (
225+ crossAxisAlignment: CrossAxisAlignment .center,
226+ children: < Widget > [
227+ Container (
228+ alignment: Alignment .center,
229+ child: GFButton (
230+ onPressed: () {
231+ setState (() {
232+ showToast = ! showToast;
233+ });
234+ },
235+ text: 'Click to View the toast' ,
236+ type: GFType .outline,
237+ color: GFColor .warning,
238+ ),
239+ )
240+ ],
241+ ))
242+ ],
243+ ),
243244 ),
244- ),
245245
246246// Container(
247247// height: 130.0,
@@ -258,8 +258,6 @@ class _MyHomePageState extends State<MyHomePage>
258258// ),
259259//
260260
261-
262-
263261// GFCard(
264262// content: Column(
265263// children: <Widget>[
@@ -337,20 +335,47 @@ class _MyHomePageState extends State<MyHomePage>
337335// ),
338336// ),
339337
340- GFButtonBar (
341- alignment: WrapAlignment .spaceEvenly,
342- children: < Widget > [
343- GFButton (onPressed: null , child: Text ("dshsc" ), icon: Icon (Icons .access_time),),
344- GFButton (onPressed: null , child: Text ("dszndc" ),icon: Icon (Icons .warning),),
345- GFButtonBadge (onPressed: null , text: "djvhcfdscc" ,icon: Icon (Icons .label),),
346- GFButton (onPressed: null , child: Text ("gcnjd" ),),
347- GFButton (onPressed: null , child: Text ("dsqdsc" ), icon: Icon (Icons .favorite),),
348- GFButton (onPressed: null , child: Text ("gcd" ),),
349- GFButton (onPressed: null , child: Text ("dascdsc" ),),
350- GFButton (onPressed: null , child: Text ("gtgcd" ),),
351-
352- ],
353- ),
338+ GFButtonBar (
339+ alignment: WrapAlignment .spaceEvenly,
340+ children: < Widget > [
341+ GFButton (
342+ onPressed: null ,
343+ child: Text ("dshsc" ),
344+ icon: Icon (Icons .access_time),
345+ ),
346+ GFButton (
347+ onPressed: null ,
348+ child: Text ("dszndc" ),
349+ icon: Icon (Icons .warning),
350+ ),
351+ GFButtonBadge (
352+ onPressed: null ,
353+ text: "djvhcfdscc" ,
354+ icon: Icon (Icons .label),
355+ ),
356+ GFButton (
357+ onPressed: null ,
358+ child: Text ("gcnjd" ),
359+ ),
360+ GFButton (
361+ onPressed: null ,
362+ child: Text ("dsqdsc" ),
363+ icon: Icon (Icons .favorite),
364+ ),
365+ GFButton (
366+ onPressed: null ,
367+ child: Text ("gcd" ),
368+ ),
369+ GFButton (
370+ onPressed: null ,
371+ child: Text ("dascdsc" ),
372+ ),
373+ GFButton (
374+ onPressed: null ,
375+ child: Text ("gtgcd" ),
376+ ),
377+ ],
378+ ),
354379
355380// GFCard(
356381// content: Column(
@@ -581,7 +606,7 @@ class _MyHomePageState extends State<MyHomePage>
581606//// textStyle: TextStyle(fontWeight: FontWeight.w500, fontSize: 8.0),
582607// ),
583608 text: 'goodies' ,
584- onPressed: (){},
609+ onPressed: () {},
585610// textColor: GFColor.danger,
586611// icon: Icon(Icons.access_alarms),
587612// hoverColor: GFColor.dark,
@@ -667,7 +692,6 @@ class _MyHomePageState extends State<MyHomePage>
667692// ]
668693// ),
669694
670-
671695// GFItemsCarousel(
672696// rowCount: 3,
673697// children: imageList.map(
0 commit comments