align button color Pat Man

This commit is contained in:
2025-06-12 12:55:32 +02:00
parent 676b94a0fe
commit 33f3c6c51f
3 changed files with 11 additions and 12 deletions

View File

@@ -441,7 +441,7 @@ class _BuildPatientsListState extends State<BuildMihPatientSearchList> {
}, },
buttonColor: MzanziInnovationHub.of(context)! buttonColor: MzanziInnovationHub.of(context)!
.theme .theme
.secondaryColor(), .successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Re-apply", "Re-apply",

View File

@@ -190,9 +190,8 @@ class _BuildPatientsListState extends State<BuildMyPatientListList> {
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(
"Book Appointment", "Book Appointment",
@@ -323,9 +322,8 @@ class _BuildPatientsListState extends State<BuildMyPatientListList> {
onPressed: () { onPressed: () {
appointmentPopUp(index, width); appointmentPopUp(index, width);
}, },
buttonColor: MzanziInnovationHub.of(context)! buttonColor:
.theme MzanziInnovationHub.of(context)!.theme.successColor(),
.secondaryColor(),
width: 300, width: 300,
child: Text( child: Text(
"Book Appointment", "Book Appointment",
@@ -350,8 +348,9 @@ class _BuildPatientsListState extends State<BuildMyPatientListList> {
"business", "business",
)); ));
}, },
buttonColor: buttonColor: MzanziInnovationHub.of(context)!
MzanziInnovationHub.of(context)!.theme.successColor(), .theme
.secondaryColor(),
width: 300, width: 300,
child: Text( child: Text(
"View Medical Records", "View Medical Records",

View File

@@ -223,7 +223,7 @@ class _WaitingRoomState extends State<WaitingRoom> {
Navigator.of(context).pop(); Navigator.of(context).pop();
}, },
buttonColor: buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(), MzanziInnovationHub.of(context)!.theme.successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Existing Patient", "Existing Patient",
@@ -242,7 +242,7 @@ class _WaitingRoomState extends State<WaitingRoom> {
Navigator.of(context).pop(); Navigator.of(context).pop();
}, },
buttonColor: buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(), MzanziInnovationHub.of(context)!.theme.successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Existing MIH User", "Existing MIH User",
@@ -261,7 +261,7 @@ class _WaitingRoomState extends State<WaitingRoom> {
addAppointmentWindow(width); addAppointmentWindow(width);
}, },
buttonColor: buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(), MzanziInnovationHub.of(context)!.theme.successColor(),
width: 300, width: 300,
child: Text( child: Text(
"Skeleton Appointment", "Skeleton Appointment",