@@ -289,7 +289,6 @@ class _MyHomePageState extends State<MyHomePage>
289289 mainAxisAlignment: MainAxisAlignment .center,
290290 crossAxisAlignment: CrossAxisAlignment .center,
291291 children: < Widget > [
292-
293292// GFAccordion(
294293// titleChild: Text('fgk'),
295294// contentChild: Text('hhjk'),
@@ -651,11 +650,11 @@ class _MyHomePageState extends State<MyHomePage>
651650// child: Text("dszndc"),
652651// icon: Icon(Icons.WARNING),
653652// ),
654- GFButtonBadge (
655- onPressed: null ,
656- text: "djvhcfdscc" ,
657- icon: Icon (Icons .label),
658- ),
653+ GFButtonBadge (
654+ onPressed: null ,
655+ text: "djvhcfdscc" ,
656+ icon: Icon (Icons .label),
657+ ),
659658// GFButton(
660659// onPressed: null,
661660// child: Text("gcnjd"),
@@ -1166,7 +1165,6 @@ class _MyHomePageState extends State<MyHomePage>
11661165// ),
11671166// ),
11681167
1169-
11701168 GFCheckbox (
11711169 size: GFSize .SMALL ,
11721170 activebgColor: GFColors .DANGER ,
@@ -1177,25 +1175,23 @@ class _MyHomePageState extends State<MyHomePage>
11771175 inactiveIcon: null ,
11781176 ),
11791177
1180-
1181-
11821178 GFRadioButton (
11831179 size: GFSize .SMALL ,
11841180 value: true ,
1185- type: GFRadioButtonType .basic,
1186- radioColor: GFColors .SUCCESS ,
1181+ type: GFRadioButtonType .basic,
1182+ radioColor: GFColors .SUCCESS ,
11871183// activebgColor: GFColors.ALT,
11881184// inactivebgColor: GFColors.PRIMARY,
11891185// activeBorderColor: GFColors.DANGER,
11901186// inactiveBorderColor: GFColors.DARK,
1191- onChanged: (val) {
1192- print ('on change val $val ' );
1193- },
1194- activeIcon: const Icon (
1195- Icons .check,
1196- size: 20 ,
1197- color: GFColors .DARK ,
1198- ),
1187+ onChanged: (val) {
1188+ print ('on change val $val ' );
1189+ },
1190+ activeIcon: const Icon (
1191+ Icons .check,
1192+ size: 20 ,
1193+ color: GFColors .DARK ,
1194+ ),
11991195// inactiveIcon: const Icon(Icons.close, size: 20, color: GFColors.DARK,),
12001196// custombgColor: GFColors.SUCCESS,
12011197// groupValue:
@@ -1384,7 +1380,9 @@ class _MyHomePageState extends State<MyHomePage>
13841380 subTitle: Text ('subtitle' ),
13851381// titleText: 'sdfg',
13861382// subtitleText: 'sdfg',
1387- avatar: GFAvatar (backgroundColor: GFColors .SUCCESS ,),
1383+ avatar: GFAvatar (
1384+ backgroundColor: GFColors .SUCCESS ,
1385+ ),
13881386 description: Text ('description' ),
13891387 padding: const EdgeInsets .all (16 ),
13901388 margin: const EdgeInsets .all (16 ),
@@ -1405,38 +1403,42 @@ class _MyHomePageState extends State<MyHomePage>
14051403 print ('on change val $val ' );
14061404 },
14071405 value: true ,
1408- inactiveIcon: Icon (Icons .close, color: GFColors .DARK , size: 16 ,),
1406+ inactiveIcon: Icon (
1407+ Icons .close,
1408+ color: GFColors .DARK ,
1409+ size: 16 ,
1410+ ),
14091411 ),
14101412
1411- ////
1412- // GFCarousel(
1413- // pagerSize: 12 ,
1414- // activeIndicator: Colors.pink ,
1415- // passiveIndicator : Colors.pink.withOpacity(0.4) ,
1416- // viewportFraction: 1.0 ,
1417- //// aspectRatio : 1,
1418- // autoPlay: true ,
1419- // enlargeMainPage : true,
1420- // pagination : true,
1421- // items: imageList
1422- // .map((url) => Container(
1423- // padding: const EdgeInsets.only(bottom: 16),
1424- // margin : const EdgeInsets.all(12 ),
1425- // child: ClipRRect(
1426- // borderRadius:
1427- // const BorderRadius.all(Radius.circular(5)),
1428- // child: Image.network(url ,
1429- // fit: BoxFit.cover, width: 1000) ,
1430- // ),
1431- // ))
1432- // .toList(),
1433- //// onPageChanged: (index) {
1434- //// setState(( ) {
1435- ////// index;
1436- //// }) ;
1437- //// },
1438- // ) ,
1439-
1413+ //
1414+ GFCarousel (
1415+ // initialPage: 1 ,
1416+ pagerSize : 12 ,
1417+ activeIndicator : Colors .pink,
1418+ passiveIndicator : Colors .pink. withOpacity ( 0.4 ) ,
1419+ viewportFraction : 1.0 ,
1420+ // aspectRatio: 1 ,
1421+ autoPlay : true ,
1422+ enlargeMainPage : true ,
1423+ pagination : true ,
1424+ items : imageList
1425+ . map ((url) => Container (
1426+ padding : const EdgeInsets .only (bottom : 16 ),
1427+ margin : const EdgeInsets . all ( 12 ),
1428+ child : ClipRRect (
1429+ borderRadius :
1430+ const BorderRadius . all ( Radius . circular ( 5 )) ,
1431+ child : Image . network (url ,
1432+ fit : BoxFit .cover, width : 1000 ),
1433+ ),
1434+ ))
1435+ . toList (),
1436+ // onPageChanged: (int index ) {
1437+ // setState(() {
1438+ // index ;
1439+ // });
1440+ // } ,
1441+ ),
14401442
14411443//
14421444// GFCarousel(
@@ -1657,7 +1659,6 @@ class _MyHomePageState extends State<MyHomePage>
16571659//// border: Border.all(color: Colors.pink, width: 2.0),
16581660// ),
16591661
1660-
16611662// GFAvatar(
16621663 // radius: 20.0,
16631664// maxRadius: 50,
0 commit comments