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

View File

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