audible_mode 1.0.1 audible_mode: ^1.0.1 copied to clipboard
This plugin lets you know when the Android or iOS device changes its audio profile and lets you know some more information about it.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add audible_mode
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
audible_mode: ^1.0.1
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:audible_mode/audible_mode.dart';