@@ -30,6 +30,7 @@ import 'package:ui_kit/components/toggle/gf_toggle.dart';
3030import 'package:ui_kit/types/gf_toggle_type.dart' ;
3131import 'package:flutter/cupertino.dart' ;
3232import 'package:ui_kit/components/header/gf_header.dart' ;
33+ import 'package:ui_kit/position/gf_position.dart' ;
3334
3435import 'package:ui_kit/components/toast/gf_toast.dart' ;
3536
@@ -82,21 +83,62 @@ class _MyHomePageState extends State<MyHomePage> {
8283 title: Text (widget.title),
8384 ),
8485
85- body: Column (
86+ body:
87+
88+ SingleChildScrollView (
89+ child: Column (
8690 children: < Widget > [
91+
92+ // GFCard(
93+ //// boxFit: BoxFit.cover,
94+ //// colorFilter: new ColorFilter.mode(
95+ //// Colors.black.withOpacity(0.67), BlendMode.darken),
96+ // image: Image.asset("lib/assets/food.jpeg"),
97+ //// imageOverlay: AssetImage("lib/assets/food.jpeg"),
98+ // titlePosition: GFPosition.end,
99+ // title: GFListItem(
100+ // avatar: GFAvatar(
101+ // child: Text("tb"),
102+ // ),
103+ // title: Text(
104+ // 'title',
105+ // style: TextStyle(color: Colors.grey),
106+ // ),
107+ // subTitle: Text(
108+ // 'subtitle',
109+ // style: TextStyle(color: Colors.grey),
110+ // ),
111+ // icon: GFIconButton(
112+ // onPressed: null,
113+ // icon: Icon(Icons.favorite_border),
114+ // type: GFType.transparent,
115+ // ),
116+ // ),
117+ // ),
118+
119+ //
120+ // GFCard(
121+ // title: GFListItem(
122+ // title: Text('dcrfvjn'),
123+ // subTitle: Text('fghjk'),
124+ //
125+ // ),
126+ //
127+ // ),
128+
87129 GFListItem (
88130 avatar: GFAvatar (),
89131
90132 title: GFHeader (
91- text: 'cvbn ' ,
92- // showDivider: false,
93- backgroundImage: NetworkImage ('https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg' ),
133+ text: 'HEADER ' ,
134+
135+ // backgroundImage: NetworkImage('https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg'),
94136 ),
95- subTitle: Text ('cfghjk ' ),
137+ subTitle: Text ('Sub Header ' ),
96138 ),
97- Container (
98- margin: EdgeInsets .only (top: 10 ),
99- child: GFToast (
139+ Container (
140+ margin: EdgeInsets .only (top: 10 ),
141+ child: GFToast (
100142//
101143//
102144//
@@ -105,9 +147,9 @@ class _MyHomePageState extends State<MyHomePage> {
105147// type: GFType.outline,
106148// text: 'Accept',
107149// ),
108- text: 'Marked as Favorite.' ,
150+ text: 'Marked as Favorite.' ,
151+ ),
109152 ),
110- ),
111153 Container (
112154 margin: EdgeInsets .only (left: 10 , right: 10 , top: 10 , bottom: 10 ),
113155 child: Row (
@@ -149,10 +191,10 @@ class _MyHomePageState extends State<MyHomePage> {
149191// icon: Icon(Icons.image, color: Colors.white,),
150192 text: 'GET FLUTTER HEADER' ,
151193//textColor: Colors.red,
152- dividerWidth: 20 ,
194+ dividerWidth: 20 ,
153195//backgroundImage: NetworkImage('https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg'),
154196//showDivider: false,
155-
197+
156198// textColor: Colors.black,
157199// dividerColor: Colors.red,
158200//dividerAlignment: Alignment.center,
@@ -167,6 +209,7 @@ dividerWidth: 20,
167209
168210 ],
169211 ),
212+ )
170213 // body: DefaultTabController(
171214 // length: 3,
172215 // child: Scaffold(
0 commit comments