flt_worker_nullsafety 0.2.0-nullsafety.1 flt_worker_nullsafety: ^0.2.0-nullsafety.1 copied to clipboard
The flt_worker plugin allows you to schedule and execute Dart background tasks, based on the WorkManager and the BackgroundTasks APIs, for Android and iOS 13+ respectively.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flt_worker_nullsafety
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flt_worker_nullsafety: ^0.2.0-nullsafety.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flt_worker_nullsafety/android.dart';
import 'package:flt_worker_nullsafety/flt_worker.dart';
import 'package:flt_worker_nullsafety/ios.dart';