Search packages, repositories and app categories

Package detailsv1.0.6

perfect_volume_control

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.

AndroidiOS
30-day downloads
2.3K
Likes
38
Pub points
115

Install package

flutter pub add perfect_volume_control

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Perfect Volume Control is a Flutter plugin that enables volume management on Android and iOS devices. It allows developers to display hidden volume icons, monitor real-time volume changes, and programmatically set or retrieve the device's current volume level. Designed for music and audio applications, it provides seamless integration with native volume controls while offering enhanced customization options. The plugin is lightweight and easy to implement, making it ideal for apps requiring fine-grained audio control.

Use cases

  • Audio player apps
  • Volume monitoring tools
  • Custom volume UIs
  • Media playback enhancements
  • Accessibility features

Key features

  • Show hidden volume icon
  • Monitor volume changes in real time
  • Set device volume programmatically
  • Retrieve current device volume
  • Cross-platform support (Android & iOS)

Suitable for

  • Developers building audio-focused apps
  • Apps needing custom volume controls
  • Projects requiring system volume access
  • Flutter apps targeting both Android and iOS
  • Integrations with media players

Considerations

  • Requires platform-specific permissions
  • Limited to volume control only
  • May not work on all device models
  • Behavior may vary between Android and iOS
  • No support for non-audio volume types

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

[中文文档] [English Docs]

What is FlutterPerfectVolumeControl ?

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.

Please use real machine test, some functions do not support emulator.

Link

Use

Get device volume

PerfectVolumeControl.getVolume();
PerfectVolumeControl.volume;

Set device volume

PerfectVolumeControl.setVolume(0.3);

Hide volume UI

PerfectVolumeControl.hideUI = true;
PerfectVolumeControl.hideUI = false;

Volume change subscription

PerfectVolumeControl.stream.listen((volume) {
  print(volume);
});

Other Plugins

I also maintain the following plug-ins. If you are interested in maintaining with me, please contact me through GitHub. Welcome issues and PR.
平台 插件 描述 版本
Flutter FlutterVideoPlayerLibrary-Desc Flutter 最好用的播放器(UI库) -
Flutter FlutterPerfectVolumeControl Flutter 完美的音量控制器插件 pub package
Flutter FlutterTencentImPlugin 腾讯云IM插件 pub package
Flutter FlutterTencentRtcPlugin 腾讯云Rtc插件 pub package
Flutter FlutterXiaoMiPushPlugin 小米推送SDK插件 pub package
Flutter FlutterHuaWeiPushPlugin 华为推送(HMS Push)插件 pub package
Flutter FlutterTextSpanField 自定义文本样式输入框 pub package
Flutter FlutterClipboardListener 粘贴板监听器 pub package
Flutter FlutterQiniucloudLivePlugin Flutter 七牛云直播云插件 暂未发布,通过 git 集成

Categories

Source repository

Projects using this package

No data available yet.