fixed otp space

This commit is contained in:
mohamadmahdi jebeli 2025-07-16 13:37:48 +03:30
parent b2961ca7d8
commit a9a8949cd0
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,6 @@ class _AuthenticationState extends State<Authentication> {
@override
Widget build(BuildContext context) {
return Scaffold(
resizeToAvoidBottomInset: false,
body: Consumer<AuthenticationState>(
builder: (context, state, child) => WillPopScope(
onWillPop: () async {

View File

@ -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],