feat: signin page keyboard on IOS

This commit is contained in:
sBubshait 2025-08-03 10:51:20 +03:00
parent 8295e5bf03
commit d6a0e78031

View File

@ -407,6 +407,7 @@ class _SignInPageState extends State<SignInPage> {
return PopScope( return PopScope(
canPop: false, // Prevent back navigation from sign in page canPop: false, // Prevent back navigation from sign in page
child: Scaffold( child: Scaffold(
resizeToAvoidBottomInset: false,
body: Container( body: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
gradient: LinearGradient( gradient: LinearGradient(
@ -442,21 +443,22 @@ class _SignInPageState extends State<SignInPage> {
// Content // Content
Expanded( Expanded(
child: Container( child: SingleChildScrollView(
margin: EdgeInsets.all(16), child: Container(
padding: EdgeInsets.all(24), margin: EdgeInsets.all(16),
decoration: BoxDecoration( padding: EdgeInsets.all(24),
color: Colors.white, decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16), color: Colors.white,
boxShadow: [ borderRadius: BorderRadius.circular(16),
BoxShadow( boxShadow: [
color: Colors.black.withOpacity(0.1), BoxShadow(
blurRadius: 20, color: Colors.black.withOpacity(0.1),
offset: Offset(0, 5), blurRadius: 20,
), offset: Offset(0, 5),
], ),
), ],
child: Form( ),
child: Form(
key: _formKey, key: _formKey,
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch, crossAxisAlignment: CrossAxisAlignment.stretch,
@ -643,9 +645,10 @@ class _SignInPageState extends State<SignInPage> {
], ],
), ),
Spacer(), SizedBox(height: 40),
], ],
), ),
),
), ),
), ),
), ),