mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-02-02 14:16:58 +00:00
fix(ui): Onboarding views getting out of safe area
This commit is contained in:
parent
ef743302cd
commit
2e70f26617
|
@ -22,30 +22,32 @@ class OnboardingView extends StatelessWidget {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(final BuildContext context) => Scaffold(
|
Widget build(final BuildContext context) => Scaffold(
|
||||||
body: Align(
|
body: SafeArea(
|
||||||
child: ConstrainedBox(
|
child: Align(
|
||||||
constraints: const BoxConstraints(maxWidth: 480),
|
child: ConstrainedBox(
|
||||||
child: Column(
|
constraints: const BoxConstraints(maxWidth: 480),
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
child: Column(
|
||||||
children: [
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
Expanded(
|
children: [
|
||||||
child: ListView(
|
Expanded(
|
||||||
primary: true,
|
child: ListView(
|
||||||
shrinkWrap: true,
|
primary: true,
|
||||||
padding: const EdgeInsets.all(15) +
|
shrinkWrap: true,
|
||||||
const EdgeInsets.only(top: 15),
|
padding: const EdgeInsets.all(15) +
|
||||||
children: children,
|
const EdgeInsets.only(top: 15),
|
||||||
|
children: children,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
Padding(
|
||||||
Padding(
|
padding: const EdgeInsets.symmetric(horizontal: 15) +
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 15) +
|
const EdgeInsets.only(bottom: 30),
|
||||||
const EdgeInsets.only(bottom: 30),
|
child: SPBrandButton.text(
|
||||||
child: SPBrandButton.text(
|
title: buttonTitle.tr(),
|
||||||
title: buttonTitle.tr(),
|
onPressed: onProceed,
|
||||||
onPressed: onProceed,
|
),
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue