flutter_background
flutter_background copied to clipboard
[Feature Request] Add "Button" to the notification
Describe the solution you'd like I know that you can have "buttons" in Android persistant notification. It would be nice to have the posibility to add such a button in the notification.
We could set it up in the "androidConfig", by setting a title and a callback.
That would allow us to stop the background execution, or any other actions coded in the callback.
I am also interested in adding actions to the foreground service. There are usescases where you want to give the user the option of stopping the foreground service.