add safe area to notifications
This commit is contained in:
@@ -194,7 +194,8 @@ class _MIHNotificationDrawerState extends State<MIHNotificationDrawer> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Drawer(
|
||||
return SafeArea(
|
||||
child: Drawer(
|
||||
//backgroundColor: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
@@ -212,8 +213,9 @@ class _MIHNotificationDrawerState extends State<MIHNotificationDrawer> {
|
||||
child: Text(
|
||||
"Notifications",
|
||||
style: TextStyle(
|
||||
color:
|
||||
MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
color: MzanziInnovationHub.of(context)!
|
||||
.theme
|
||||
.primaryColor(),
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 20,
|
||||
),
|
||||
@@ -240,6 +242,7 @@ class _MIHNotificationDrawerState extends State<MIHNotificationDrawer> {
|
||||
// ),
|
||||
],
|
||||
),
|
||||
));
|
||||
)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user