remove unnessasary builder
This commit is contained in:
@@ -776,18 +776,16 @@ class _MIHHomeState extends State<MIHHome> {
|
|||||||
barrierColor: const Color(0x01000000),
|
barrierColor: const Color(0x01000000),
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return Builder(builder: (context) {
|
return MIHNotificationMessage(
|
||||||
return MIHNotificationMessage(
|
arguments: NotificationArguments(
|
||||||
arguments: NotificationArguments(
|
"Unread Notifications",
|
||||||
"Unread Notifications",
|
"You have unread notifications waiting for you.",
|
||||||
"You have unread notifications waiting for you.",
|
() {
|
||||||
() {
|
Navigator.of(context).pop();
|
||||||
Navigator.of(context).pop();
|
Scaffold.of(context).openEndDrawer();
|
||||||
//Scaffold.of(context).openEndDrawer();
|
},
|
||||||
},
|
),
|
||||||
),
|
);
|
||||||
);
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user