dismiss keyboard flutter
// The correct way of closing the keyboard is
FocusScope.of(context).unfocus();
dismiss keyboard flutter
// The correct way of closing the keyboard is
FocusScope.of(context).unfocus();
Keyboard disappearing when focussing on TextFormField flutter
This happens when you put GlobalKey<FormState> in your build function
Try with static or add inside initState ... _formKey ...
static GlobalKey<FormState> _formKey = new GlobalKey<FormState>();
Currently the key is recreated every time _LoginState is rebuilt, which defeats
it's purpose.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us