I have a Column of Expanded widgets like this:
return new Container(
child: new Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
Method 1: Remove android:windowSoftInputMode="adjustResize"
from AndroidManifest.xml file (Otherwise it will override flutter code) and add resizeToAvoidBottomPadding: false
in Scaffold like below:
Scaffold(
resizeToAvoidBottomPadding: false,
appBar: AppBar()
)
Method 2(Not Recommended): Just Add android:windowSoftInputMode="stateVisible"
in android AndroidManifest.xml in activity it will only work for Android an Not for IOS like.
Note: Don't set it to android:windowSoftInputMode="adjustResize"