volume_control 0.0.1 volume_control: ^0.0.1 copied to clipboard
A flutter plugin to programmatically adjust the device's volume on Android and iOS.
volume_control #
A flutter plugin to programmatically adjust the device's volume on Android and iOS.
Example #
// Import package
import 'package:volume_control/volume_control.dart';
// Get the current volume, min=0, max=1
double _val = await VolumeControl.volume;
// Set the new volume value
VolumeControl.setVolume(0.4);