From 0f938fafd28227be038bc993cb81d126bc76288c Mon Sep 17 00:00:00 2001 From: Mohammad Aljmma Date: Sun, 15 Nov 2020 15:09:40 +0200 Subject: [PATCH] fix issue #12 --- .../bottom_navigation_item.dart | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/lib/widgets/bottom_navigation/bottom_navigation_item.dart b/lib/widgets/bottom_navigation/bottom_navigation_item.dart index b1c565f6..ba35f3c6 100644 --- a/lib/widgets/bottom_navigation/bottom_navigation_item.dart +++ b/lib/widgets/bottom_navigation/bottom_navigation_item.dart @@ -54,16 +54,19 @@ class BottomNavigationItem extends StatelessWidget { size: 22.0), ), SizedBox( - height: 5, + height: 2, ), Texts( name, textAlign: TextAlign.center, color: currentIndex == index ? Theme.of(context).primaryColor - : Theme.of(context).dividerColor, + : Colors.grey, fontSize: 11, ), + SizedBox( + height: 7, + ), ], ) : authenticatedUserObject.isLogin @@ -103,16 +106,19 @@ class BottomNavigationItem extends StatelessWidget { size: 22.0), ), SizedBox( - height: 5, + height: 2, ), Texts( name, textAlign: TextAlign.center, color: currentIndex == index ? Theme.of(context).primaryColor - : Theme.of(context).dividerColor, + : Colors.grey, fontSize: 11, ), + SizedBox( + height: 7, + ), ], ), ], @@ -133,16 +139,19 @@ class BottomNavigationItem extends StatelessWidget { size: 22.0), ), SizedBox( - height: 5, + height: 2, ), Texts( name, textAlign: TextAlign.center, color: currentIndex == index ? Theme.of(context).primaryColor - : Theme.of(context).dividerColor, + : Colors.grey, fontSize: 11, ), + SizedBox( + height: 7, + ), ], ), ),