|
|
|
@ -17,7 +17,6 @@ class BottomNavPharmacyBar extends StatefulWidget {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class _BottomNavPharmacyBarState extends State<BottomNavPharmacyBar> {
|
|
|
|
class _BottomNavPharmacyBarState extends State<BottomNavPharmacyBar> {
|
|
|
|
int _index = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_changeIndex(int index) {
|
|
|
|
_changeIndex(int index) {
|
|
|
|
widget.changeIndex(index);
|
|
|
|
widget.changeIndex(index);
|
|
|
|
@ -43,19 +42,6 @@ class _BottomNavPharmacyBarState extends State<BottomNavPharmacyBar> {
|
|
|
|
currentIndex: 0,
|
|
|
|
currentIndex: 0,
|
|
|
|
title: TranslationBase.of(context).Alhabibapp,
|
|
|
|
title: TranslationBase.of(context).Alhabibapp,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
// Container(
|
|
|
|
|
|
|
|
// height: 65.0,
|
|
|
|
|
|
|
|
// child: Center(
|
|
|
|
|
|
|
|
// child: VerticalDivider(
|
|
|
|
|
|
|
|
// color: Colors.grey,
|
|
|
|
|
|
|
|
// thickness: 0.5,
|
|
|
|
|
|
|
|
// width: 0.3,
|
|
|
|
|
|
|
|
// indent: 25.5,
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BottomNavPharmacyItem(
|
|
|
|
BottomNavPharmacyItem(
|
|
|
|
icon: EvaIcons.list,
|
|
|
|
icon: EvaIcons.list,
|
|
|
|
activeIcon: EvaIcons.list,
|
|
|
|
activeIcon: EvaIcons.list,
|
|
|
|
@ -64,20 +50,6 @@ class _BottomNavPharmacyBarState extends State<BottomNavPharmacyBar> {
|
|
|
|
currentIndex: 1,
|
|
|
|
currentIndex: 1,
|
|
|
|
title: TranslationBase.of(context).categorise,
|
|
|
|
title: TranslationBase.of(context).categorise,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
// Expanded(
|
|
|
|
|
|
|
|
// child: SizedBox(
|
|
|
|
|
|
|
|
// height: 50,
|
|
|
|
|
|
|
|
// child: Column(
|
|
|
|
|
|
|
|
// mainAxisSize: MainAxisSize.min,
|
|
|
|
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
|
|
|
// children: <Widget>[
|
|
|
|
|
|
|
|
// SizedBox(height: 22),
|
|
|
|
|
|
|
|
// ],
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Added Calendar Icon to access book appointment flow
|
|
|
|
|
|
|
|
BottomNavPharmacyItem(
|
|
|
|
BottomNavPharmacyItem(
|
|
|
|
icon: EvaIcons.home,
|
|
|
|
icon: EvaIcons.home,
|
|
|
|
activeIcon: EvaIcons.home,
|
|
|
|
activeIcon: EvaIcons.home,
|
|
|
|
@ -86,13 +58,12 @@ class _BottomNavPharmacyBarState extends State<BottomNavPharmacyBar> {
|
|
|
|
currentIndex: 0,
|
|
|
|
currentIndex: 0,
|
|
|
|
isHome: true,
|
|
|
|
isHome: true,
|
|
|
|
title: TranslationBase.of(context).home),
|
|
|
|
title: TranslationBase.of(context).home),
|
|
|
|
|
|
|
|
|
|
|
|
BottomNavPharmacyItem(
|
|
|
|
BottomNavPharmacyItem(
|
|
|
|
icon: EvaIcons.person,
|
|
|
|
icon: EvaIcons.person,
|
|
|
|
activeIcon: EvaIcons.person,
|
|
|
|
activeIcon: EvaIcons.person,
|
|
|
|
changeIndex: _changeIndex,
|
|
|
|
changeIndex: _changeIndex,
|
|
|
|
index: widget.index,
|
|
|
|
index: widget.index,
|
|
|
|
currentIndex: 3,
|
|
|
|
currentIndex: 2,
|
|
|
|
title: TranslationBase.of(context).myAccount,
|
|
|
|
title: TranslationBase.of(context).myAccount,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
BottomNavPharmacyItem(
|
|
|
|
BottomNavPharmacyItem(
|
|
|
|
@ -100,7 +71,7 @@ class _BottomNavPharmacyBarState extends State<BottomNavPharmacyBar> {
|
|
|
|
activeIcon: EvaIcons.shoppingCartOutline,
|
|
|
|
activeIcon: EvaIcons.shoppingCartOutline,
|
|
|
|
changeIndex: _changeIndex,
|
|
|
|
changeIndex: _changeIndex,
|
|
|
|
index: widget.index,
|
|
|
|
index: widget.index,
|
|
|
|
currentIndex: 4,
|
|
|
|
currentIndex: 3,
|
|
|
|
title: TranslationBase.of(context).cart)
|
|
|
|
title: TranslationBase.of(context).cart)
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|