flutter_local_notification code no longer working

Viewed 31

My push notification code was working as of yesterday but now I'm getting error for SelectNotificationCallback.

I've added a screenshot of the code below.

enter image description here

1 Answers

Did you update the package?

Check the changelog for the latest versions:

https://pub.dev/packages/flutter_local_notifications/changelog

10.0.0:

onDidReceiveNotificationResponse: invoked only when the app is running. This works for when a user has selected a notification or notification action. This replaces the onSelectNotification callback that existed before.

Related