@@ -9,36 +9,39 @@ class AppTabBar extends StatelessWidget {
9
9
: _tabController = controller;
10
10
@override
11
11
Widget build (BuildContext context) {
12
- return Column (
13
- children: [
14
- // Divider(
15
- // height: 0,
16
- // color: AppColor.grey3,
17
- // thickness: 0.2,
18
- // ),
19
- TabBar (
20
- physics: BouncingScrollPhysics (),
21
- isScrollable: true ,
22
- controller: _tabController,
23
- indicator: BoxDecoration (
24
- borderRadius: AppThemeBorderRadius .bigBorderRadius,
25
- color: AppColor .accent),
26
- unselectedLabelColor: AppColor .grey3,
27
- labelStyle: Theme .of (context)
28
- .textTheme
29
- .headline6!
30
- .copyWith (fontSize: 14 , fontWeight: FontWeight .w600),
31
- indicatorPadding:
32
- EdgeInsets .only (left: 8 , right: 8 , bottom: 8 , top: 8 ),
33
- labelPadding: EdgeInsets .only (left: 8 , right: 8 , bottom: 8 , top: 8 ),
34
- tabs: tabs! ,
35
- ),
36
- // Divider(
37
- // height: 0,
38
- // color: AppColor.grey3,
39
- // thickness: 0.2,
40
- // ),
41
- ],
12
+ return Container (
13
+ color: AppColor .background,
14
+ child: Column (
15
+ children: [
16
+ // Divider(
17
+ // height: 0,
18
+ // color: AppColor.grey3,
19
+ // thickness: 0.2,
20
+ // ),
21
+ TabBar (
22
+ physics: BouncingScrollPhysics (),
23
+ isScrollable: true ,
24
+ controller: _tabController,
25
+ indicator: BoxDecoration (
26
+ borderRadius: AppThemeBorderRadius .bigBorderRadius,
27
+ color: AppColor .accent),
28
+ unselectedLabelColor: AppColor .grey3,
29
+ labelStyle: Theme .of (context)
30
+ .textTheme
31
+ .headline6!
32
+ .copyWith (fontSize: 14 , fontWeight: FontWeight .w600),
33
+ indicatorPadding:
34
+ EdgeInsets .only (left: 8 , right: 8 , bottom: 8 , top: 8 ),
35
+ labelPadding: EdgeInsets .only (left: 8 , right: 8 , bottom: 8 , top: 8 ),
36
+ tabs: tabs! ,
37
+ ),
38
+ // Divider(
39
+ // height: 0,
40
+ // color: AppColor.grey3,
41
+ // thickness: 0.2,
42
+ // ),
43
+ ],
44
+ ),
42
45
);
43
46
}
44
47
}
0 commit comments