avoid bottom overflow when using keyboard
parent
99f517d0ba
commit
3b6a67ad1f
|
@ -49,6 +49,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => hidekbd,
|
onTap: () => hidekbd,
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
|
resizeToAvoidBottomInset: false, //new line
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text("Base Converter"),
|
title: const Text("Base Converter"),
|
||||||
actions: [
|
actions: [
|
||||||
|
@ -86,7 +87,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
child: Container(
|
child: Container(
|
||||||
margin: const EdgeInsets.all(24),
|
margin: const EdgeInsets.all(24),
|
||||||
child: Center(child: resultToRichText())),
|
child: Center(child: resultToRichText())),
|
||||||
)
|
),
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue