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