From 4ef3a167ea7641c42831a559a7af8e8da64eed25 Mon Sep 17 00:00:00 2001 From: lars Date: Mon, 4 May 2026 08:51:16 +0200 Subject: [PATCH] fixed dart errors in notificationService --- lib/notification/notificationService.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/notification/notificationService.dart b/lib/notification/notificationService.dart index 85c5e98..5c5ae6c 100644 --- a/lib/notification/notificationService.dart +++ b/lib/notification/notificationService.dart @@ -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 ); } }