align button
This commit is contained in:
@@ -200,26 +200,29 @@ class _PatientConsultationState extends State<PatientConsultation> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 15.0),
|
const SizedBox(height: 15.0),
|
||||||
MihButton(
|
Center(
|
||||||
onPressed: () {
|
child: MihButton(
|
||||||
if (_formKey.currentState!.validate()) {
|
onPressed: () {
|
||||||
addPatientNoteAPICall();
|
if (_formKey.currentState!.validate()) {
|
||||||
Navigator.pop(context);
|
addPatientNoteAPICall();
|
||||||
} else {
|
Navigator.pop(context);
|
||||||
MihAlertServices().formNotFilledCompletely(context);
|
} else {
|
||||||
}
|
MihAlertServices().formNotFilledCompletely(context);
|
||||||
},
|
}
|
||||||
buttonColor:
|
},
|
||||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
buttonColor: MzanziInnovationHub.of(context)!
|
||||||
width: 300,
|
.theme
|
||||||
child: Text(
|
.secondaryColor(),
|
||||||
"Add Note",
|
width: 300,
|
||||||
style: TextStyle(
|
child: Text(
|
||||||
color: MzanziInnovationHub.of(context)!
|
"Add Note",
|
||||||
.theme
|
style: TextStyle(
|
||||||
.primaryColor(),
|
color: MzanziInnovationHub.of(context)!
|
||||||
fontSize: 20,
|
.theme
|
||||||
fontWeight: FontWeight.bold,
|
.primaryColor(),
|
||||||
|
fontSize: 20,
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user