perfect_volume_control 1.0.3 perfect_volume_control: ^1.0.3 copied to clipboard
Flutter volume control plug-in, supports Android and IOS, has: Show hidden volume icon, volume change monitoring, set volume, get the current volume of the device.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add perfect_volume_control
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
perfect_volume_control: ^1.0.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:perfect_volume_control/perfect_volume_control.dart';