|
|
|
@ -92,8 +92,9 @@ class BottomNavPharmacyItem extends StatelessWidget {
|
|
|
|
title,
|
|
|
|
title,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
color: currentIndex == index ? Colors.grey : Colors.grey,
|
|
|
|
color: currentIndex == index ? Colors.grey : Colors.grey,
|
|
|
|
fontWeight:
|
|
|
|
fontWeight: currentIndex == index
|
|
|
|
currentIndex == index ? FontWeight.bold : FontWeight.w400,
|
|
|
|
? FontWeight.bold
|
|
|
|
|
|
|
|
: FontWeight.w400,
|
|
|
|
fontSize: currentIndex == index ? 13 : 11,
|
|
|
|
fontSize: currentIndex == index ? 13 : 11,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
@ -112,11 +113,16 @@ class BottomNavPharmacyItem extends StatelessWidget {
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: Colors.red,
|
|
|
|
color: Colors.red,
|
|
|
|
borderRadius: BorderRadius.circular(15),
|
|
|
|
borderRadius: BorderRadius.circular(15),
|
|
|
|
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
padding: EdgeInsets.only(left: 7, right: 6.5),
|
|
|
|
padding: EdgeInsets.only(left: 7, right: 6.5),
|
|
|
|
height: 18,
|
|
|
|
height: 18,
|
|
|
|
child: Center(child: Texts(orderPreviewViewModel.cartResponse.quantityCount.toString(), style: "caption", medium: true, color: Colors.white,)),
|
|
|
|
child: Center(
|
|
|
|
|
|
|
|
child: Texts(
|
|
|
|
|
|
|
|
orderPreviewViewModel.cartResponse.quantityCount.toString(),
|
|
|
|
|
|
|
|
style: "caption",
|
|
|
|
|
|
|
|
medium: true,
|
|
|
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
|
|
|
)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|