Prevent drawer from going over status bar
This commit is contained in:
parent
ff9f3263ae
commit
7c71f5fa3e
|
@ -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(),
|
||||
);
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user