[中文文档] [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.
平台插件描述版本
FlutterFlutterPerfectVolumeControlFlutter 完美的音量控制器插件pub package
FlutterFlutterTencentImPlugin腾讯云IM插件pub package
FlutterFlutterTencentRtcPlugin腾讯云Rtc插件pub package
FlutterFlutterXiaoMiPushPlugin小米推送SDK插件pub package
FlutterFlutterHuaWeiPushPlugin华为推送(HMS Push)插件pub package
FlutterFlutterTextSpanField自定义文本样式输入框pub package
FlutterFlutterClipboardListener粘贴板监听器pub package
FlutterFlutterQiniucloudLivePluginFlutter 七牛云直播云插件暂未发布,通过 git 集成

Libraries

perfect_volume_control