flutter_light_plugin 0.0.2

Flutter Android iOS

android和ios皆可用的亮度插件.

flutter_light_plugin #

flutter_light_plugin 是一个亮度插件.

android端调节的事当前屏幕亮度,不是系统亮度(因为调节系统亮度需要权限).
ios端调节的是屏幕亮度

相关接口 #

  1. 设置亮度
FlutterLightPlugin.setLight

  1. 获取当前亮度
FlutterLightPlugin.getCurrentLight

  1. 获取系统最大亮度
FlutterLightPlugin.getMaxLight

0
likes
65
pub points
70%
popularity

android和ios皆可用的亮度插件.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

a18665728562@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_light_plugin