refactor(iOS): Refactoring for iOS bundle

This commit is contained in:
2024-05-02 13:56:39 +03:00
parent 7c30667aec
commit 2b5da83e38
6 changed files with 34 additions and 4 deletions

View File

@@ -30,7 +30,11 @@ class AuthScreen extends StatelessWidget {
return Scaffold(
resizeToAvoidBottomInset: false,
appBar: _buildAppBar(context),
body: Container(
body:GestureDetector(
onTap: () {
FocusScope.of(context).unfocus(); // Скрыть клавиатуру
},
child: Container(
width: double.maxFinite,
padding: EdgeInsets.symmetric(horizontal: 16.h, vertical: 9.v),
child: Column(children: [
@@ -85,7 +89,7 @@ class AuthScreen extends StatelessWidget {
buttonStyle: CustomButtonStyles.outlinePrimaryTL15,
onPressed: onTapAuth(state, context));
}),
])));
]))));
}
onTapAuth(AuthState state, BuildContext context) {