display_brightness 1.0.0 copy "display_brightness: ^1.0.0" to clipboard
display_brightness: ^1.0.0 copied to clipboard

Control app-level screen brightness on iOS and Android using direct native interop (jnigen/swiftgen). No permissions required.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add display_brightness

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  display_brightness: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:display_brightness/display_brightness.dart';
1
likes
160
points
133
downloads

Documentation

API reference

Publisher

verified publishermankeli.co

Weekly Downloads

Control app-level screen brightness on iOS and Android using direct native interop (jnigen/swiftgen). No permissions required.

Homepage
Repository (GitHub)
View/report issues

Topics

#screen #brightness #jnigen #swiftgen #ffi

License

BSD-3-Clause (license)

Dependencies

display_brightness_android, display_brightness_ios, display_brightness_platform_interface, flutter

More

Packages that depend on display_brightness

Packages that implement display_brightness