display_brightness_ios 1.0.0
display_brightness_ios: ^1.0.0 copied to clipboard
iOS implementation of the display_brightness plugin.
display_brightness_ios #
The iOS implementation of display_brightness.
Usage #
This package is endorsed, which means you can simply use display_brightness normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.
However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.
Implementation Details #
- Uses
UIScreen.main.brightnessfor getting and setting brightness - Uses
UIScreen.brightnessDidChangeNotificationfor change observation - Native bindings generated via swiftgen (direct FFI, no method channels)
- No permissions required