Compare commits
2 Commits
d604a59ad1
...
55fd4092ac
Author | SHA1 | Date | |
---|---|---|---|
55fd4092ac | |||
247b88daa2 |
@ -136,7 +136,8 @@ class _HomePageState extends State<HomePage> {
|
|||||||
child: Center(child: page),
|
child: Center(child: page),
|
||||||
);
|
);
|
||||||
|
|
||||||
Widget? drawer, body;
|
Widget? drawer;
|
||||||
|
Widget body;
|
||||||
if (Platform.isAndroid || Platform.isIOS) {
|
if (Platform.isAndroid || Platform.isIOS) {
|
||||||
drawer = navigation;
|
drawer = navigation;
|
||||||
body = main;
|
body = main;
|
||||||
@ -156,8 +157,11 @@ class _HomePageState extends State<HomePage> {
|
|||||||
title: Text("Expense Tracker"),
|
title: Text("Expense Tracker"),
|
||||||
),
|
),
|
||||||
drawer: drawer,
|
drawer: drawer,
|
||||||
body: body,
|
body: SafeArea(child: body),
|
||||||
floatingActionButton: floatingButton,
|
floatingActionButton: floatingButton,
|
||||||
|
extendBody: false,
|
||||||
|
extendBodyBehindAppBar: false,
|
||||||
|
resizeToAvoidBottomInset: true,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,10 @@ class SettingsPage extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Placeholder();
|
return Center(
|
||||||
|
child: Text(
|
||||||
|
"No settings yet. :)",
|
||||||
|
),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user