From a9a8949cd06c65ab1dcac910316cfe0796b681ed Mon Sep 17 00:00:00 2001 From: mohamadmahdi jebeli Date: Wed, 16 Jul 2025 13:37:48 +0330 Subject: [PATCH] fixed otp space --- lib/views/authentication/authentication.dart | 1 - lib/views/authentication/widgets/authentication_layout.dart | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/views/authentication/authentication.dart b/lib/views/authentication/authentication.dart index 9f72ffb..1d58f43 100644 --- a/lib/views/authentication/authentication.dart +++ b/lib/views/authentication/authentication.dart @@ -42,7 +42,6 @@ class _AuthenticationState extends State { @override Widget build(BuildContext context) { return Scaffold( - resizeToAvoidBottomInset: false, body: Consumer( builder: (context, state, child) => WillPopScope( onWillPop: () async { diff --git a/lib/views/authentication/widgets/authentication_layout.dart b/lib/views/authentication/widgets/authentication_layout.dart index bd4a0cb..579ea4c 100644 --- a/lib/views/authentication/widgets/authentication_layout.dart +++ b/lib/views/authentication/widgets/authentication_layout.dart @@ -49,7 +49,8 @@ class AuthenticationLayout extends StatelessWidget { SliverPadding( padding: const EdgeInsets.symmetric(horizontal: 20), sliver: SliverFillRemaining( - hasScrollBody: false, + hasScrollBody: true, + fillOverscroll: true, child: Column( children: [ for (var i = 0; i < children.length; i++) children[i],