@@ -17,8 +17,13 @@ class HomeScreen extends StatefulWidget {
17
17
18
18
class _HomeScreenState extends State <HomeScreen > {
19
19
var currentTabIndex = 0 ;
20
-
21
- var categories = ['Men' , 'Women' , 'Children' , 'Sneakers' , 'Others' ];
20
+ var categories = [
21
+ 'Men' ,
22
+ 'Women' ,
23
+ 'Children' ,
24
+ 'Sneakers' ,
25
+ 'Others' ,
26
+ ];
22
27
23
28
final categoriesList = const [
24
29
MenWears (),
@@ -39,9 +44,9 @@ class _HomeScreenState extends State<HomeScreen> {
39
44
text,
40
45
style: TextStyle (
41
46
color: currentTabIndex == index ? Colors .black : Colors .grey,
42
- fontSize: currentTabIndex == index ? 37 : 28 ,
47
+ fontSize: currentTabIndex == index ? 27 : 18 ,
43
48
fontWeight:
44
- currentTabIndex == index ? FontWeight .bold : FontWeight .w500,
49
+ currentTabIndex == index ? FontWeight .bold : FontWeight .w500,
45
50
),
46
51
),
47
52
),
@@ -61,9 +66,9 @@ class _HomeScreenState extends State<HomeScreen> {
61
66
margin: const EdgeInsets .symmetric (horizontal: 18 ),
62
67
child: const SearchBox (),
63
68
),
64
- const SizedBox (height: 20 ),
69
+ const SizedBox (height: 10 ),
65
70
buildCarouselSlider (),
66
- const SizedBox (height: 15 ),
71
+ const SizedBox (height: 10 ),
67
72
SizedBox (
68
73
height: 40 ,
69
74
child: ListView .builder (
@@ -75,7 +80,15 @@ class _HomeScreenState extends State<HomeScreen> {
75
80
),
76
81
SizedBox (
77
82
height: MediaQuery .of (context).size.height / 1 ,
78
- child: categoriesList[currentTabIndex],
83
+ child: Column (
84
+ children: [
85
+ categoriesList[currentTabIndex],
86
+ const SizedBox (
87
+ height: 10 ,
88
+ ),
89
+ Text ('Other Contents can come in.....' )
90
+ ],
91
+ ),
79
92
),
80
93
],
81
94
),
0 commit comments