fixed dart errors in notificationService
This commit is contained in:
@@ -24,7 +24,7 @@ class NotificationService {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await flutterLocalNotificationsPlugin.initialize(
|
await flutterLocalNotificationsPlugin.initialize(
|
||||||
initializationSettings,
|
settings: initializationSettings
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,10 +46,10 @@ class NotificationService {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await flutterLocalNotificationsPlugin.show(
|
await flutterLocalNotificationsPlugin.show(
|
||||||
0,
|
id: 0,
|
||||||
title,
|
title: title,
|
||||||
body,
|
body: body,
|
||||||
platformChannelSpecifics,
|
notificationDetails: platformChannelSpecifics
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user