align button
This commit is contained in:
parent
c1ce448eff
commit
ce7ac510b5
1 changed files with 23 additions and 20 deletions
|
|
@ -200,7 +200,8 @@ class _PatientConsultationState extends State<PatientConsultation> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 15.0),
|
const SizedBox(height: 15.0),
|
||||||
MihButton(
|
Center(
|
||||||
|
child: MihButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
if (_formKey.currentState!.validate()) {
|
if (_formKey.currentState!.validate()) {
|
||||||
addPatientNoteAPICall();
|
addPatientNoteAPICall();
|
||||||
|
|
@ -209,8 +210,9 @@ class _PatientConsultationState extends State<PatientConsultation> {
|
||||||
MihAlertServices().formNotFilledCompletely(context);
|
MihAlertServices().formNotFilledCompletely(context);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
buttonColor:
|
buttonColor: MzanziInnovationHub.of(context)!
|
||||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
.theme
|
||||||
|
.secondaryColor(),
|
||||||
width: 300,
|
width: 300,
|
||||||
child: Text(
|
child: Text(
|
||||||
"Add Note",
|
"Add Note",
|
||||||
|
|
@ -223,6 +225,7 @@ class _PatientConsultationState extends State<PatientConsultation> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue