diff --git a/lib/pages/home.dart b/lib/pages/home.dart index b5791e0..1b7a25d 100644 --- a/lib/pages/home.dart +++ b/lib/pages/home.dart @@ -136,7 +136,8 @@ class _HomePageState extends State { child: Center(child: page), ); - Widget? drawer, body; + Widget? drawer; + Widget body; if (Platform.isAndroid || Platform.isIOS) { drawer = navigation; body = main; @@ -156,8 +157,11 @@ class _HomePageState extends State { title: Text("Expense Tracker"), ), drawer: drawer, - body: body, + body: SafeArea(child: body), floatingActionButton: floatingButton, + extendBody: false, + extendBodyBehindAppBar: false, + resizeToAvoidBottomInset: true, ); }); }