flutter_background_service_plugin 0.0.1
flutter_background_service_plugin: ^0.0.1 copied to clipboard
This is a packege for running our service in the background,this is single solution for both ios and anroid working nicely.It will run in as a notificaton and also in the background
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_background_service_pluginThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_background_service_plugin: ^0.0.1Alternatively, 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:flutter_background_service_plugin/flutter_background_service_plugin.dart';