File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import 'package:flutter/cupertino.dart';
1919import 'package:ui_kit/size/gf_size.dart' ;
2020import 'package:ui_kit/position/gf_position.dart' ;
2121import 'package:ui_kit/components/tabs/gf_tabs.dart' ;
22+ import 'package:ui_kit/types/gf_type.dart' ;
2223import 'package:ui_kit/components/slider/gf_items_slider.dart' ;
2324import 'package:ui_kit/components/drawer/gf_drawer.dart' ;
2425import 'package:ui_kit/components/drawer/gf_drawer_header.dart' ;
@@ -62,14 +63,16 @@ class _MyHomePageState extends State<MyHomePage> {
6263 Widget build (BuildContext context) {
6364 return Scaffold (
6465 body: Center (
65- child: GFIconBadge (
66+ child: GFButton (
6667 onPressed: null ,
67- child: GFIconButton (
68- icon: Icon (Icons .share),
69- ),
70- counterChild: GFBadge (
68+ type: GFType .transparent,
69+ // text: 'hi',
70+ child: GFBadge (
7171 text: '12' ,
7272 ),
73+ textColor: GFColor .primary,
74+ color: GFColor .danger,
75+ shape: GFButtonShape .square,
7376 ),
7477 ),
7578 );
You can’t perform that action at this time.
0 commit comments