Home > Mobile >  Keyboard Hiding TextFormField behind
Keyboard Hiding TextFormField behind

Time:06-21

keyboard appear on TextFormField

 @override
   Widget build(BuildContext context) {
    return Scaffold(
           backgroundColor: Colors.white,
           body: SingleChildScrollView(    
       ),
     );
   }

CodePudding user response:

add this line in scaffold resizeToAvoidBottomInset: true

  @override
    Widget build(BuildContext context) {
    return Scaffold(
    resizeToAvoidBottomInset: true,//  
    body:   Container(),
 );
}
  • Related