background_media_player 0.1.4
background_media_player: ^0.1.4 copied to clipboard
Background Media Player plugin for Flutter. Currently work on Android only, iOS will be released soon.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add background_media_playerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
background_media_player: ^0.1.4Alternatively, 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:background_media_player/background_media_player.dart';