Keyboard Pushes the Content up / Resizes the Screen Problem in Flutter
Feb 15, 2021
You can solve this problem by setting resizeToAvoidBottomInset: false
in Scaffold()
.
( resizeToAvoidBottomPadding
is deprecated. )
Use resizeToAvoidBottomInset
:
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
resizeToAvoidBottomInset : false,
appBar: AppBar(
title: Text('First App'),
),
...
);
}
}
Thank you for reading. Follow for more.