Change the double SafeArea for Linux.
This commit is contained in:
parent
55fd4092ac
commit
0890e15bfb
@ -140,7 +140,7 @@ class _HomePageState extends State<HomePage> {
|
|||||||
Widget body;
|
Widget body;
|
||||||
if (Platform.isAndroid || Platform.isIOS) {
|
if (Platform.isAndroid || Platform.isIOS) {
|
||||||
drawer = navigation;
|
drawer = navigation;
|
||||||
body = main;
|
body = SafeArea(child: main);
|
||||||
} else {
|
} else {
|
||||||
drawer = null;
|
drawer = null;
|
||||||
body = Row(
|
body = Row(
|
||||||
@ -157,7 +157,7 @@ class _HomePageState extends State<HomePage> {
|
|||||||
title: Text("Expense Tracker"),
|
title: Text("Expense Tracker"),
|
||||||
),
|
),
|
||||||
drawer: drawer,
|
drawer: drawer,
|
||||||
body: SafeArea(child: body),
|
body: body,
|
||||||
floatingActionButton: floatingButton,
|
floatingActionButton: floatingButton,
|
||||||
extendBody: false,
|
extendBody: false,
|
||||||
extendBodyBehindAppBar: false,
|
extendBodyBehindAppBar: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user