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 完美的音量控制器插件 | |
Flutter | FlutterTencentImPlugin | 腾讯云IM插件 | |
Flutter | FlutterTencentRtcPlugin | 腾讯云Rtc插件 | |
Flutter | FlutterXiaoMiPushPlugin | 小米推送SDK插件 | |
Flutter | FlutterHuaWeiPushPlugin | 华为推送(HMS Push)插件 | |
Flutter | FlutterTextSpanField | 自定义文本样式输入框 | |
Flutter | FlutterClipboardListener | 粘贴板监听器 | |
Flutter | FlutterQiniucloudLivePlugin | Flutter 七牛云直播云插件 | 暂未发布,通过 git 集成 |