align button color Mzansi Wallet
This commit is contained in:
@@ -141,9 +141,8 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
|||||||
MihAlertServices().formNotFilledCompletely(context);
|
MihAlertServices().formNotFilledCompletely(context);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
buttonColor: MzanziInnovationHub.of(context)!
|
buttonColor:
|
||||||
.theme
|
MzanziInnovationHub.of(context)!.theme.successColor(),
|
||||||
.secondaryColor(),
|
|
||||||
width: 300,
|
width: 300,
|
||||||
child: Text(
|
child: Text(
|
||||||
"Update",
|
"Update",
|
||||||
@@ -191,9 +190,10 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
|||||||
barrierDismissible: false,
|
barrierDismissible: false,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return MihPackageAlert(
|
return MihPackageAlert(
|
||||||
|
alertColour: MzanziInnovationHub.of(context)!.theme.successColor(),
|
||||||
alertIcon: Icon(
|
alertIcon: Icon(
|
||||||
Icons.favorite,
|
Icons.favorite,
|
||||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
color: MzanziInnovationHub.of(context)!.theme.successColor(),
|
||||||
size: 100,
|
size: 100,
|
||||||
),
|
),
|
||||||
alertTitle: "Add to Favourites",
|
alertTitle: "Add to Favourites",
|
||||||
@@ -224,7 +224,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
buttonColor:
|
buttonColor:
|
||||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
MzanziInnovationHub.of(context)!.theme.successColor(),
|
||||||
width: 300,
|
width: 300,
|
||||||
child: Text(
|
child: Text(
|
||||||
"Add",
|
"Add",
|
||||||
@@ -238,7 +238,6 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
alertColour: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
@@ -250,9 +249,10 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
|||||||
barrierDismissible: false,
|
barrierDismissible: false,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return MihPackageAlert(
|
return MihPackageAlert(
|
||||||
|
alertColour: MzanziInnovationHub.of(context)!.theme.errorColor(),
|
||||||
alertIcon: Icon(
|
alertIcon: Icon(
|
||||||
Icons.favorite_border,
|
Icons.favorite_border,
|
||||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
color: MzanziInnovationHub.of(context)!.theme.errorColor(),
|
||||||
size: 100,
|
size: 100,
|
||||||
),
|
),
|
||||||
alertTitle: "Remove From Favourites",
|
alertTitle: "Remove From Favourites",
|
||||||
@@ -283,7 +283,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
buttonColor:
|
buttonColor:
|
||||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
MzanziInnovationHub.of(context)!.theme.errorColor(),
|
||||||
width: 300,
|
width: 300,
|
||||||
child: Text(
|
child: Text(
|
||||||
"Remove",
|
"Remove",
|
||||||
@@ -297,7 +297,6 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
alertColour: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -125,9 +125,8 @@ class _MihBarcodeScannerState extends State<MihBarcodeScanner>
|
|||||||
_scannerController.stop();
|
_scannerController.stop();
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
},
|
},
|
||||||
buttonColor: MzanziInnovationHub.of(context)!
|
buttonColor:
|
||||||
.theme
|
MzanziInnovationHub.of(context)!.theme.errorColor(),
|
||||||
.secondaryColor(),
|
|
||||||
width: 100,
|
width: 100,
|
||||||
height: 50,
|
height: 50,
|
||||||
child: Text(
|
child: Text(
|
||||||
|
|||||||
@@ -269,9 +269,8 @@ class _MihCardsState extends State<MihCards> {
|
|||||||
MihAlertServices().formNotFilledCompletely(context);
|
MihAlertServices().formNotFilledCompletely(context);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
buttonColor: MzanziInnovationHub.of(context)!
|
buttonColor:
|
||||||
.theme
|
MzanziInnovationHub.of(context)!.theme.successColor(),
|
||||||
.secondaryColor(),
|
|
||||||
width: 300,
|
width: 300,
|
||||||
child: Text(
|
child: Text(
|
||||||
"Add",
|
"Add",
|
||||||
|
|||||||
Reference in New Issue
Block a user