|
|
|
@ -37,6 +37,7 @@ class BottomNavigationItem extends StatelessWidget {
|
|
|
|
SizedBox(height: SizeConfig.getHeightMultiplier(height:SizeConfig.heightMultiplier *
|
|
|
|
SizedBox(height: SizeConfig.getHeightMultiplier(height:SizeConfig.heightMultiplier *
|
|
|
|
(SizeConfig.isHeightVeryShort ? 12:SizeConfig.isHeightShort ?10 : 9) ) * 10,),
|
|
|
|
(SizeConfig.isHeightVeryShort ? 12:SizeConfig.isHeightShort ?10 : 9) ) * 10,),
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
|
|
|
|
margin: EdgeInsets.only(bottom: 3),
|
|
|
|
child: Icon(currentIndex == index ? activeIcon : icon,
|
|
|
|
child: Icon(currentIndex == index ? activeIcon : icon,
|
|
|
|
color: currentIndex == index
|
|
|
|
color: currentIndex == index
|
|
|
|
? Color(0xFF333C45)
|
|
|
|
? Color(0xFF333C45)
|
|
|
|
@ -49,8 +50,9 @@ class BottomNavigationItem extends StatelessWidget {
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child: Text(
|
|
|
|
child: Text(
|
|
|
|
name,
|
|
|
|
name,
|
|
|
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 3,
|
|
|
|
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 2,
|
|
|
|
color: currentIndex == index
|
|
|
|
color: currentIndex == index
|
|
|
|
? Color(0xFF333C45)
|
|
|
|
? Color(0xFF333C45)
|
|
|
|
: Color(0xFF989898)//#989898,
|
|
|
|
: Color(0xFF989898)//#989898,
|
|
|
|
|