native_workmanager 1.2.5
native_workmanager: ^1.2.5 copied to clipboard
Background task scheduling for Flutter — 25+ native workers (HTTP, image, crypto, file), task chains, zero Flutter Engine overhead.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate native_workmanagerUse it
The package has the following executables:
$ migrate
$ setup_ios
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add native_workmanagerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
native_workmanager: ^1.2.5Alternatively, 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:native_workmanager/native_workmanager.dart';