Answers for "textFormField flutter lost focus?"

2

flutter unfocus textfield

FocusScope.of(context).unfocus();
Posted by: Guest on October-12-2020
0

flutter unfocus textfield

FocusScopeNode currentFocus = FocusScope.of(context);

if (!currentFocus.hasPrimaryFocus) {
currentFocus.unfocus();
}
Posted by: Guest on March-21-2021

Code answers related to "textFormField flutter lost focus?"

Browse Popular Code Answers by Language