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