|
|
|
|
@ -32,7 +32,7 @@ class BottomNavigationItem extends StatelessWidget {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return Expanded(
|
|
|
|
|
child: SizedBox(
|
|
|
|
|
height: 70.0,
|
|
|
|
|
height:MediaQuery.of(context).size.height *.1,
|
|
|
|
|
child: Material(
|
|
|
|
|
type: MaterialType.transparency,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
@ -57,8 +57,9 @@ class BottomNavigationItem extends StatelessWidget {
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 15,
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
child: SvgPicture.asset(
|
|
|
|
|
Stack(
|
|
|
|
|
children: [
|
|
|
|
|
SvgPicture.asset(
|
|
|
|
|
svgPath!,
|
|
|
|
|
width: SizeConfig.widthMultiplier! * (10),
|
|
|
|
|
height: SizeConfig.getHeightMultiplier(
|
|
|
|
|
@ -70,27 +71,10 @@ class BottomNavigationItem extends StatelessWidget {
|
|
|
|
|
: 7)) *
|
|
|
|
|
40,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 8,
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: AppText(name ?? "",
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.getTextMultiplierBasedOnWidth() *
|
|
|
|
|
2.5,
|
|
|
|
|
letterSpacing: -0.24,
|
|
|
|
|
color: AppGlobal.appTextColor,
|
|
|
|
|
fontWeight: FontWeight.w600) //#989898,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
if (currentIndex == 3 &&
|
|
|
|
|
dashboardViewModel!.notRepliedCount != 0)
|
|
|
|
|
Positioned(
|
|
|
|
|
right: 18.0,
|
|
|
|
|
bottom: 40.0,
|
|
|
|
|
top:1, right:1,
|
|
|
|
|
child: badge.Badge(
|
|
|
|
|
badgeAnimation:
|
|
|
|
|
badge.BadgeAnimation.fade(toAnimate: false),
|
|
|
|
|
@ -109,6 +93,24 @@ class BottomNavigationItem extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
]
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 8,
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: AppText(name ?? "",
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.getTextMultiplierBasedOnWidth() *
|
|
|
|
|
2.5,
|
|
|
|
|
letterSpacing: -0.24,
|
|
|
|
|
color: AppGlobal.appTextColor,
|
|
|
|
|
fontWeight: FontWeight.w600) //#989898,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|