avplayer_audio_service 0.18.19+3 copy "avplayer_audio_service: ^0.18.19+3" to clipboard
avplayer_audio_service: ^0.18.19+3 copied to clipboard

A customized audio_service fork with native Android notification custom-action support.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add avplayer_audio_service

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  avplayer_audio_service: ^0.18.19+3

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:avplayer_audio_service/avplayer_audio_service.dart';