align button color Biz Prof

This commit is contained in:
2025-06-12 12:43:11 +02:00
parent 16774e8181
commit b7c87e0183
5 changed files with 7 additions and 8 deletions

View File

@@ -257,9 +257,8 @@ class _BuildEmployeeListState extends State<BuildEmployeeList> {
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",

View File

@@ -215,7 +215,7 @@ class _BuildUserListState extends State<BuildUserList> {
}, },
buttonColor: MzanziInnovationHub.of(context)! buttonColor: MzanziInnovationHub.of(context)!
.theme .theme
.secondaryColor(), .successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Add", "Add",

View File

@@ -416,7 +416,7 @@ class _MihBusinessDetailsState extends State<MihBusinessDetails> {
), ),
], ],
), ),
const SizedBox(height: 15), const SizedBox(height: 25),
Center( Center(
child: MihButton( child: MihButton(
onPressed: () { onPressed: () {
@@ -427,7 +427,7 @@ class _MihBusinessDetailsState extends State<MihBusinessDetails> {
} }
}, },
buttonColor: buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(), MzanziInnovationHub.of(context)!.theme.successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Update", "Update",

View File

@@ -375,7 +375,7 @@ class _MihMyBusinessUserState extends State<MihMyBusinessUser> {
} }
}, },
buttonColor: buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(), MzanziInnovationHub.of(context)!.theme.successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Update", "Update",

View File

@@ -525,7 +525,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
}, },
buttonColor: MzanziInnovationHub.of(context)! buttonColor: MzanziInnovationHub.of(context)!
.theme .theme
.secondaryColor(), .successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Add", "Add",