change menu order

This commit is contained in:
2025-05-22 11:29:27 +02:00
parent 9cd68e3591
commit 8b44125c01

View File

@@ -218,26 +218,6 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
animatedIcon: AnimatedIcons.menu_close, animatedIcon: AnimatedIcons.menu_close,
direction: SpeedDialDirection.down, direction: SpeedDialDirection.down,
children: [ children: [
SpeedDialChild(
child: Icon(
Icons.delete,
color:
MzanziInnovationHub.of(context)!.theme.primaryColor(),
),
label: "Delete Card",
labelBackgroundColor:
MzanziInnovationHub.of(context)!.theme.successColor(),
labelStyle: TextStyle(
color:
MzanziInnovationHub.of(context)!.theme.primaryColor(),
fontWeight: FontWeight.bold,
),
backgroundColor:
MzanziInnovationHub.of(context)!.theme.successColor(),
onTap: () {
deleteCardWindow(context, index);
},
),
SpeedDialChild( SpeedDialChild(
child: widget.cardList[index].favourite == "" child: widget.cardList[index].favourite == ""
? Icon( ? Icon(
@@ -272,6 +252,26 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
} }
}, },
), ),
SpeedDialChild(
child: Icon(
Icons.delete,
color:
MzanziInnovationHub.of(context)!.theme.primaryColor(),
),
label: "Delete Card",
labelBackgroundColor:
MzanziInnovationHub.of(context)!.theme.successColor(),
labelStyle: TextStyle(
color:
MzanziInnovationHub.of(context)!.theme.primaryColor(),
fontWeight: FontWeight.bold,
),
backgroundColor:
MzanziInnovationHub.of(context)!.theme.successColor(),
onTap: () {
deleteCardWindow(context, index);
},
),
], ],
), ),
), ),