fix scrolling overlay
This commit is contained in:
@@ -156,9 +156,8 @@ class _AddPatientState extends State<AddPatient> {
|
||||
}
|
||||
|
||||
Widget displayForm() {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(15.0),
|
||||
child: SingleChildScrollView(
|
||||
return SingleChildScrollView(
|
||||
padding: const EdgeInsets.all(25.0),
|
||||
child: Column(
|
||||
children: [
|
||||
Text(
|
||||
@@ -299,13 +298,11 @@ class _AddPatientState extends State<AddPatient> {
|
||||
buttonText: "Add",
|
||||
buttonColor:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
textColor:
|
||||
MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
textColor: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -354,9 +354,8 @@ class _EditPatientState extends State<EditPatient> {
|
||||
}
|
||||
|
||||
Widget displayForm() {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(15.0),
|
||||
child: SingleChildScrollView(
|
||||
return SingleChildScrollView(
|
||||
padding: const EdgeInsets.all(25.0),
|
||||
child: Column(
|
||||
children: [
|
||||
Row(
|
||||
@@ -374,8 +373,7 @@ class _EditPatientState extends State<EditPatient> {
|
||||
),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.delete),
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
alignment: Alignment.topRight,
|
||||
onPressed: () {
|
||||
deletePatientPopUp();
|
||||
@@ -515,13 +513,11 @@ class _EditPatientState extends State<EditPatient> {
|
||||
buttonText: "Update",
|
||||
buttonColor:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
textColor:
|
||||
MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
textColor: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user