Use Mih Color Green
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:mzansi_innovation_hub/main.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_alert_services.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_service_calls.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_mzansi_calendar_services.dart';
|
||||
@@ -190,8 +191,7 @@ class _BuildPatientsListState extends State<BuildMyPatientListList> {
|
||||
MihAlertServices().formNotFilledCompletely(context);
|
||||
}
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Book Appointment",
|
||||
@@ -322,8 +322,7 @@ class _BuildPatientsListState extends State<BuildMyPatientListList> {
|
||||
onPressed: () {
|
||||
appointmentPopUp(index, width);
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Book Appointment",
|
||||
@@ -386,8 +385,7 @@ class _BuildPatientsListState extends State<BuildMyPatientListList> {
|
||||
lastName = widget.patientAccesses[index].lname;
|
||||
accessWithColour = TextSpan(
|
||||
text: "$access\n",
|
||||
style: TextStyle(
|
||||
color: MzansiInnovationHub.of(context)!.theme.successColor()));
|
||||
style: TextStyle(color: MihColors.getGreenColor(context)));
|
||||
} else if (access == "PENDING") {
|
||||
firstName = "${widget.patientAccesses[index].fname[0]}********";
|
||||
lastName = "${widget.patientAccesses[index].lname[0]}********";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter_speed_dial/flutter_speed_dial.dart';
|
||||
import 'package:mzansi_innovation_hub/main.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_icons.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_alert_services.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_mzansi_calendar_services.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_validation_services.dart';
|
||||
@@ -131,14 +132,12 @@ class _WaitingRoomState extends State<WaitingRoom> {
|
||||
color: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
),
|
||||
label: "Add Appointment",
|
||||
labelBackgroundColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
labelBackgroundColor: MihColors.getGreenColor(context),
|
||||
labelStyle: TextStyle(
|
||||
color: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
backgroundColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
backgroundColor: MihColors.getGreenColor(context),
|
||||
onTap: () {
|
||||
// addAppointmentWindow();
|
||||
appointmentTypeSelection(width);
|
||||
@@ -281,8 +280,7 @@ class _WaitingRoomState extends State<WaitingRoom> {
|
||||
widget.onIndexChange(1);
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Existing Patient",
|
||||
@@ -300,8 +298,7 @@ class _WaitingRoomState extends State<WaitingRoom> {
|
||||
widget.onIndexChange(2);
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Existing MIH User",
|
||||
@@ -319,8 +316,7 @@ class _WaitingRoomState extends State<WaitingRoom> {
|
||||
Navigator.pop(context);
|
||||
addAppointmentWindow(width);
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Skeleton Appointment",
|
||||
|
||||
Reference in New Issue
Block a user