Skip to content

Commit

Permalink
Update README.md (#2119)
Browse files Browse the repository at this point in the history
Convert to named arguments and remove const from constructor invocation
  • Loading branch information
udoy-touhid authored Oct 6, 2023
1 parent 682f2a6 commit 8192532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flutter_local_notifications/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,9 @@ On iOS/macOS, notification actions need to be configured before the app is start
final DarwinInitializationSettings initializationSettingsDarwin = DarwinInitializationSettings(
// ...
notificationCategories: [
const DarwinNotificationCategory(
DarwinNotificationCategory(
'demoCategory',
<DarwinNotificationAction>[
actions: <DarwinNotificationAction>[
DarwinNotificationAction.plain('id_1', 'Action 1'),
DarwinNotificationAction.plain(
'id_2',
Expand Down

0 comments on commit 8192532

Please sign in to comment.