Flutter: Keyboard overflow with My Dialog

The problem is on the screen behind the Dialog. I faced the same problem but no one of the solutions above worked with my code so I used this code:

resizeToAvoidBottomInset: false,

This line be under "return Scaffold" I found this solution on this page


You can simply use SingleChildScrollView:

 AlertDialog(
        content: SingleChildScrollView(
          scrollDirection: Axis.vertical,
        child: Column(
          children: <Widget>[
            Text(
              "How Would You Rate Our App?",
              style: TextStyle(fontSize: 16.0, fontWeight: FontWeight.bold),
              textAlign: TextAlign.center,
        ),
        ]
    )
    )
)