flutter_foreground_task
flutter_foreground_task copied to clipboard
Question: What is the use case for WithForegroundTask?
I'm a bit clueless about the use case for the WithForegroundTask
widget is?
From looking at it, it should prevent popping the scaffold it is wrapping?
For reasons I don't know it's currently only preventing people from going a page back, even if the service is not running. But you can still close the app without problem (using the regular methods: e.g. minimizing it and then either just closing it via the regular OS options (e.g. swiping up and closing the app for good)).
So I might miss something, but there seems to be no value in the widget?