Cross-platform Flutter plugin for displaying and scheduling local notifications
open sourceBSD-3-Clausefree
flutter_local_notifications is a Flutter plugin for displaying and scheduling local notifications on Android, iOS, macOS, Linux, Windows and the web, using each platform's own notification APIs. It shows notifications straight away, schedules them for a set time, repeats them daily, weekly or at an interval, lists pending ones and cancels them, and tells the app when a notification was tapped, including when it launched the app. Android options cover importance, priority, vibration, icons, HTML content and styles such as big picture, big text, inbox and messaging. The plugin's API isn't static, so it can be mocked in tests.
Problems it solves
- show a local notification from a Flutter app
- schedule a daily reminder notification in Flutter
- know whether my Flutter app was opened by tapping a notification
Features
- local notifications on Android, iOS, macOS, Linux, Windows and web
- schedule notifications, daily, weekly or at an interval
- list pending and cancel notifications
- handle taps in the foreground, background or after termination
- Android importance, priority, vibration, icons and notification styles
- mockable, non-static API
Limitations
Alternatives
The same job
These do what flutter_local_notifications does.
- local_auth Flutter plugin for local authentication with biometrics, passcode, PIN or pattern
- permission_handler Request and check app permissions in Flutter
