sound_mode_advanced 4.0.0
sound_mode_advanced: ^4.0.0 copied to clipboard
A plugin to manage a device's sound mode on Android and detect ringer mode on iOS. Supports Do Not Disturb permission handling on Android API 24+.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sound_mode_advancedThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
sound_mode_advanced: ^4.0.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:sound_mode_advanced/sound_mode_advanced.dart';