avoid bottom overflow when using keyboard

mobile
EmaMaker 2021-09-30 07:02:31 +00:00
parent 99f517d0ba
commit 3b6a67ad1f
1 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@ class _MyHomePageState extends State<MyHomePage> {
return GestureDetector(
onTap: () => hidekbd,
child: Scaffold(
resizeToAvoidBottomInset: false, //new line
appBar: AppBar(
title: const Text("Base Converter"),
actions: [
@ -86,7 +87,7 @@ class _MyHomePageState extends State<MyHomePage> {
child: Container(
margin: const EdgeInsets.all(24),
child: Center(child: resultToRichText())),
)
),
]),
),
),