Skip to content

Commit 71b94e3

Browse files
committed
continue on tabs
1 parent 47dae9a commit 71b94e3

1 file changed

Lines changed: 35 additions & 2 deletions

File tree

example/lib/main.dart

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import 'package:ui_kit/types/gf_type.dart';
1515
import 'package:ui_kit/components/image/gf_image_overlay.dart';
1616
import 'package:ui_kit/shape/gf_shape.dart';
1717
import 'package:ui_kit/components/slider/gf_slider.dart';
18+
import 'package:ui_kit/colors/gf_color.dart';
1819

1920
final List<String> imageList = [
2021
"https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg",
@@ -60,9 +61,41 @@ class _MyHomePageState extends State<MyHomePage> {
6061
child: Scaffold(
6162
appBar: AppBar(
6263
bottom: TabBar(
64+
indicatorColor: Colors.lightGreen,
65+
labelColor: Colors.orange,
6366
tabs: [
64-
Tab(icon: Icon(Icons.directions_car)),
65-
Tab(icon: Icon(Icons.directions_transit)),
67+
Container(
68+
child: Column(
69+
children: <Widget>[
70+
Text("dcec"),
71+
],
72+
),
73+
),
74+
75+
76+
GFButton(
77+
type: GFType.solid,
78+
shape: GFShape.pills,
79+
text: 'goodies',
80+
// onPressed: () {},
81+
// textStyle: TextStyle(fontWeight: FontWeight.w500, fontSize: 8.0),
82+
// size: GFSize.large,
83+
// buttonBoxShadow: true,
84+
// blockButton: true,
85+
// fullWidthButton: true,
86+
// color: Colors.red,
87+
// textColor: GFColor.secondary,
88+
// icon: Icon(Icons.error, color: Colors.white,),
89+
// position: GFIconPosition.start,
90+
// boxShadow: BoxShadow(
91+
color: GFColor.danger,
92+
// blurRadius: 2.0,
93+
// spreadRadius: 1.0,
94+
// offset: Offset.zero,
95+
// ),
96+
// borderSide: BorderSide(color: Colors.pink, width: 1.0, style: BorderStyle.solid),
97+
// borderShape: RoundedRectangleBorder(side: BorderSide(color: Colors.pink, width: 2.0, style: BorderStyle.solid), borderRadius: BorderRadius.zero),
98+
),
6699
Tab(icon: Icon(Icons.directions_bike)),
67100
],
68101
),

0 commit comments

Comments
 (0)