Skip to content

Commit 378898f

Browse files
committed
[flutter_local_notifications] Fix missed appliance of named parameters
1 parent b7fb4e3 commit 378898f

File tree

1 file changed

+4
-4
lines changed
  • flutter_local_notifications/example/lib

1 file changed

+4
-4
lines changed

flutter_local_notifications/example/lib/main.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2526,10 +2526,10 @@ class _HomePageState extends State<HomePage> {
25262526
NotificationDetails(android: androidNotificationDetails);
25272527

25282528
await flutterLocalNotificationsPlugin.show(
2529-
id++,
2530-
'I ignored dnd',
2531-
'I completely ignored dnd',
2532-
notificationDetails,
2529+
id: id++,
2530+
title: 'I ignored dnd',
2531+
body: 'I completely ignored dnd',
2532+
notificationDetails: notificationDetails,
25332533
);
25342534
}
25352535

0 commit comments

Comments
 (0)