with_foreground_task library Null safety

Classes

WithForegroundTask
A widget that prevents the app from closing when the foreground service is running. This widget must be declared above the Scaffold widget.