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,