Prevent drawer from going over status bar

This commit is contained in:
Brandon Presley 2023-04-13 17:44:40 +12:00
parent ff9f3263ae
commit 7c71f5fa3e

View File

@ -59,7 +59,8 @@ class RootPage extends State<HomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
return SafeArea(
child: Scaffold(
drawer: Drawer(
child: ListView.builder(
itemCount: routes.length,
@ -103,7 +104,7 @@ class RootPage extends State<HomePage> {
],
),
body: getBody(),
);
));
}
}