native_audio 0.0.19 native_audio: ^0.0.19 copied to clipboard
An audio plugin for Flutter which makes use of the native Android and iOS audio players, handling playback, notifications and external controls.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add native_audio
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
native_audio: ^0.0.19
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:native_audio/native_audio.dart';