align button

This commit is contained in:
2025-06-06 15:38:19 +02:00
parent c1ce448eff
commit ce7ac510b5

View File

@@ -200,7 +200,8 @@ class _PatientConsultationState extends State<PatientConsultation> {
),
),
const SizedBox(height: 15.0),
MihButton(
Center(
child: MihButton(
onPressed: () {
if (_formKey.currentState!.validate()) {
addPatientNoteAPICall();
@@ -209,8 +210,9 @@ class _PatientConsultationState extends State<PatientConsultation> {
MihAlertServices().formNotFilledCompletely(context);
}
},
buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
buttonColor: MzanziInnovationHub.of(context)!
.theme
.secondaryColor(),
width: 300,
child: Text(
"Add Note",
@@ -223,6 +225,7 @@ class _PatientConsultationState extends State<PatientConsultation> {
),
),
),
),
],
),
],