Closed NullByte08 closed 9 months ago
Version
Describe the error in callbackDispatcher() function's body, the variable backgroundTask is undefined.
callbackDispatcher()
backgroundTask
void callbackDispatcher() { Workmanager().executeTask((task, inputData) { print("Native called background task: $backgroundTask"); //simpleTask will be emitted here. return Future.value(true); }); }
Output of flutter doctor -v
flutter doctor -v
Version
Describe the error in
callbackDispatcher()
function's body, the variablebackgroundTask
is undefined.Output of
flutter doctor -v