add page scroll

This commit is contained in:
2024-08-07 16:03:04 +02:00
parent 1197804428
commit cdcb132372
2 changed files with 335 additions and 329 deletions

View File

@@ -174,6 +174,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
submitForm();
}
},
child: SingleChildScrollView(
child: Column(
children: [
const Text(
@@ -334,8 +335,9 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
height: 100.0,
child: MyButton(
buttonText: "Add",
buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
buttonColor: MzanziInnovationHub.of(context)!
.theme
.secondaryColor(),
textColor:
MzanziInnovationHub.of(context)!.theme.primaryColor(),
onTap: () {
@@ -348,6 +350,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
),
),
),
),
);
}
}

View File

@@ -268,6 +268,7 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
submitForm(business_id);
}
},
child: SingleChildScrollView(
child: Column(
children: [
const Text(
@@ -428,8 +429,9 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
height: 100.0,
child: MyButton(
buttonText: "Add",
buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
buttonColor: MzanziInnovationHub.of(context)!
.theme
.secondaryColor(),
textColor:
MzanziInnovationHub.of(context)!.theme.primaryColor(),
onTap: () {
@@ -443,6 +445,7 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
),
),
),
),
);
}
}