File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,24 @@ class _MyHomePageState extends State<MyHomePage>
138138 backgroundColor: Colors .teal,
139139// centerTitle: true,
140140// leading: GFIconButton(icon: Icon(Icons.directions_bus), onPressed: (){}),
141- title: const Text ('UI Kit' ),
141+ title:
142+ // const Text('UI Kit'),
143+ GFSegmentTabs (
144+ tabController: tabController,
145+ initialIndex: 0 ,
146+ length: 3 ,
147+ tabs: const < Widget > [
148+ Text (
149+ 'Tab1' ,
150+ ),
151+ Text (
152+ 'Tab2' ,
153+ ),
154+ Text (
155+ 'Tab3' ,
156+ ),
157+ ],
158+ ),
142159// bottom: TabBar(
143160// controller: tabController,
144161// tabs: [
@@ -147,7 +164,7 @@ class _MyHomePageState extends State<MyHomePage>
147164// Tab(icon: Icon(Icons.directions_bike)),
148165// ],
149166// ),
150- searchBar: true ,
167+ // searchBar: true,
151168// searchHintText: "aaaaaaa",
152169// searchHintStyle: TextStyle(fontSize: 18.0, color: Colors.redAccent),
153170// searchStyle: TextStyle(fontSize: 10.0, color: Colors.green),
You can’t perform that action at this time.
0 commit comments