File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed 
veggieseasons/lib/screens Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 55import  'package:flutter/cupertino.dart' ;
66import  'package:go_router/go_router.dart' ;
77
8+ const  _bottomNavigationBarItemIconPadding =  EdgeInsets .only (top:  4.0 );
9+ 
810class  HomeScreen  extends  StatelessWidget  {
911  const  HomeScreen ({
1012    super .key,
@@ -30,19 +32,31 @@ class HomeScreen extends StatelessWidget {
3032              currentIndex:  index,
3133              items:  const  [
3234                BottomNavigationBarItem (
33-                   icon:  Icon (CupertinoIcons .home),
35+                   icon:  Padding (
36+                     padding:  _bottomNavigationBarItemIconPadding,
37+                     child:  Icon (CupertinoIcons .home),
38+                   ),
3439                  label:  'Home' ,
3540                ),
3641                BottomNavigationBarItem (
37-                   icon:  Icon (CupertinoIcons .book),
42+                   icon:  Padding (
43+                     padding:  _bottomNavigationBarItemIconPadding,
44+                     child:  Icon (CupertinoIcons .book),
45+                   ),
3846                  label:  'My Garden' ,
3947                ),
4048                BottomNavigationBarItem (
41-                   icon:  Icon (CupertinoIcons .search),
49+                   icon:  Padding (
50+                     padding:  _bottomNavigationBarItemIconPadding,
51+                     child:  Icon (CupertinoIcons .search),
52+                   ),
4253                  label:  'Search' ,
4354                ),
4455                BottomNavigationBarItem (
45-                   icon:  Icon (CupertinoIcons .settings),
56+                   icon:  Padding (
57+                     padding:  _bottomNavigationBarItemIconPadding,
58+                     child:  Icon (CupertinoIcons .settings),
59+                   ),
4660                  label:  'Settings' ,
4761                ),
4862              ],
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments