'How to expire/dispose Notifications in Flutter App
I enabled notifications in my app and its working fine but how can I expire an old notification if a new one arrives or expire it after a certain duration?
Solution 1:[1]
The "flutter_local_notifications" plugin has a method to dismiss notifications. However, there is currently no method to get a list of the present notifications. You need to track them on your own (e.g. some persistent storage like SharedPreferences).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Nacho |
