@@ -8,6 +8,7 @@ import 'package:ui_kit/components/badge/gf_badge.dart';
88import 'package:ui_kit/components/card/gf_card.dart' ;
99import 'package:ui_kit/components/header_bar/gf_title_bar.dart' ;
1010import 'package:ui_kit/components/image/gf_image_overlay.dart' ;
11+ import 'package:ui_kit/components/button_bar/gf_button_bar.dart' ;
1112import 'package:ui_kit/types/gf_type.dart' ;
1213
1314void main () => runApp (MyApp ());
@@ -47,13 +48,37 @@ class _MyHomePageState extends State<MyHomePage> {
4748 crossAxisAlignment: CrossAxisAlignment .center,
4849 children: < Widget > [
4950
51+ Card (
52+ child: Column (
53+ children: < Widget > [
54+ Text ("czsd" ),
55+ Row (
56+ children: < Widget > [
57+ OutlineButton (onPressed: null , child: Text ("dscds" ), color: Colors .orange, ),
58+ FlatButton (onPressed: null , child: Text ("dchbvj" ))
59+ ],
60+ )
61+ ],
62+ ),
63+ ),
64+
65+ GFButtonBar (
66+ mainAxisSize: MainAxisSize .min,
67+ children: < Widget > [
68+ GFButton (onPressed: null , child: Text ("like" ), icon: Icon (Icons .favorite_border), type: GFType .transparent,),
69+ GFButton (onPressed: null , child: Text ("comment" ),),
70+ GFButton (onPressed: null , child: Text ("share" ), icon: Icon (Icons .share), type: GFType .outline,),
71+ ],
72+ ),
73+
5074 GFTitleBar (
5175 avatar: GFAvatar (
5276 child: Text ("tb" ),
5377 ),
5478 title: Text ('title' ),
5579 subTitle: Text ('subtitle' ),
5680 icon: GFIconButton (
81+ type: GFType .transparent,
5782 icon: Icon (Icons .favorite_border),
5883 ),
5984 ),
@@ -68,10 +93,23 @@ class _MyHomePageState extends State<MyHomePage> {
6893 icon: Icon (Icons .favorite_border),
6994 type: GFType .transparent,
7095 ),
96+ image: Image .asset ("lib/assets/pizza.jpeg" ),
97+ content: Text ("Flutter "
98+ "Flutter is Google's mobile UI framework for crafting high-quality native interfaces on iOS and Android in " ),
99+ buttonBar: GFButtonBar (
100+ mainAxisSize: MainAxisSize .min,
101+ children: < Widget > [
102+ GFButton (onPressed: null , child: Text ("favorite" ), icon: Icon (Icons .favorite_border), type: GFType .transparent, ),
103+ GFButton (onPressed: null , child: Text ("share" ), icon: Icon (Icons .share), type: GFType .outline, ),
104+ ],
105+ ),
106+
71107 ),
72108
73109
74110
111+
112+
75113// GFCard(
76114// headertype: GFAtb(),
77115// po
0 commit comments