mirror of
https://github.com/Iconica-Development/flutter_registration.git
synced 2025-05-19 05:23:43 +02:00
fix: Fixed alignment and spacing when opening keyboard
This commit is contained in:
parent
c86fa1ca5f
commit
f328df84dd
1 changed files with 2 additions and 3 deletions
|
@ -120,8 +120,7 @@ class _AuthScreenState extends State<AuthScreen> {
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
if (widget.titleWidget != null) widget.titleWidget!,
|
if (widget.titleWidget != null) widget.titleWidget!,
|
||||||
const SizedBox(height: 40),
|
Expanded(
|
||||||
Flexible(
|
|
||||||
child: ListView(
|
child: ListView(
|
||||||
physics: const ClampingScrollPhysics(),
|
physics: const ClampingScrollPhysics(),
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
|
@ -130,6 +129,7 @@ class _AuthScreenState extends State<AuthScreen> {
|
||||||
horizontal: 30.0,
|
horizontal: 30.0,
|
||||||
),
|
),
|
||||||
children: [
|
children: [
|
||||||
|
const SizedBox(height: 40),
|
||||||
for (AuthField field in step.fields)
|
for (AuthField field in step.fields)
|
||||||
Align(
|
Align(
|
||||||
child: Column(
|
child: Column(
|
||||||
|
@ -145,7 +145,6 @@ class _AuthScreenState extends State<AuthScreen> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const Spacer(),
|
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(
|
padding: const EdgeInsets.only(
|
||||||
top: 15.0,
|
top: 15.0,
|
||||||
|
|
Loading…
Reference in a new issue