From 3b6a67ad1f3519c7cda5a43942e70b3c6c2cb9bd Mon Sep 17 00:00:00 2001 From: EmaMaker Date: Thu, 30 Sep 2021 07:02:31 +0000 Subject: [PATCH] avoid bottom overflow when using keyboard --- lib/main.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index 8dbc569..c9d0cd0 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -49,6 +49,7 @@ class _MyHomePageState extends State { 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 { child: Container( margin: const EdgeInsets.all(24), child: Center(child: resultToRichText())), - ) + ), ]), ), ),