From f328df84dd2be5ba71d80441d4a8d7d04e859ec1 Mon Sep 17 00:00:00 2001 From: Jacques Date: Tue, 6 Feb 2024 12:54:08 +0100 Subject: [PATCH] fix: Fixed alignment and spacing when opening keyboard --- lib/src/auth_screen.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/src/auth_screen.dart b/lib/src/auth_screen.dart index c818a79..7b93d54 100644 --- a/lib/src/auth_screen.dart +++ b/lib/src/auth_screen.dart @@ -120,8 +120,7 @@ class _AuthScreenState extends State { mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ if (widget.titleWidget != null) widget.titleWidget!, - const SizedBox(height: 40), - Flexible( + Expanded( child: ListView( physics: const ClampingScrollPhysics(), shrinkWrap: true, @@ -130,6 +129,7 @@ class _AuthScreenState extends State { horizontal: 30.0, ), children: [ + const SizedBox(height: 40), for (AuthField field in step.fields) Align( child: Column( @@ -145,7 +145,6 @@ class _AuthScreenState extends State { ], ), ), - const Spacer(), Padding( padding: const EdgeInsets.only( top: 15.0,