volume_util

Creator: coderz1093

Last updated:

0 purchases

volume_util Image
volume_util Images

Languages

Categories

Add to Cart

Description:

volume util

volume_util #
A flutter plugin to config and monitor volume. Support Android and iOS platform.
Getting Started #
Get Volume #
final VolumeUtil volumeUtil = VolumeUtil();
double volume = await volumeUtil.getVolume();
copied to clipboard
Set Volume #
double volume = 0.5;
final VolumeUtil volumeUtil = VolumeUtil();
bool success = await volumeUtil.setVolume(volume);
copied to clipboard
Listen Volume Change #
final VolumeUtil volumeUtil = VolumeUtil();
StreamSubscription ss = volumeUtil.getVolumeChangeStream().listen((volume) {
debugPrint("volume:$volume");
});

...

ss.cancel();
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.