flutter_foreground_task_nous_fork 0.2.0
flutter_foreground_task_nous_fork: ^0.2.0 copied to clipboard
This plugin is used to implement a foreground service on the Android/iOS platform. Forked from https://github.com/Dev-hwang/flutter_foreground_task
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_foreground_task_nous_forkThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_foreground_task_nous_fork: ^0.2.0Alternatively, 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_foreground_task_nous_fork/exception/foreground_task_exception.dart';
import 'package:flutter_foreground_task_nous_fork/flutter_foreground_task.dart';
import 'package:flutter_foreground_task_nous_fork/models/android_notification_options.dart';
import 'package:flutter_foreground_task_nous_fork/models/foreground_task_options.dart';
import 'package:flutter_foreground_task_nous_fork/models/ios_notification_options.dart';
import 'package:flutter_foreground_task_nous_fork/models/notification_button.dart';
import 'package:flutter_foreground_task_nous_fork/models/notification_channel_importance.dart';
import 'package:flutter_foreground_task_nous_fork/models/notification_icon_data.dart';
import 'package:flutter_foreground_task_nous_fork/models/notification_priority.dart';
import 'package:flutter_foreground_task_nous_fork/models/notification_visibility.dart';
import 'package:flutter_foreground_task_nous_fork/ui/will_start_foreground_task.dart';
import 'package:flutter_foreground_task_nous_fork/ui/with_foreground_task.dart';