display_brightness 0.1.1+1 copy "display_brightness: ^0.1.1+1" to clipboard
display_brightness: ^0.1.1+1 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 Dart:

 $ dart pub add display_brightness

With Flutter:

 $ flutter pub add display_brightness

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

dependencies:
  display_brightness: ^0.1.1+1

Alternatively, your editor might support dart pub get or 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
0
points
133
downloads

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

unknown (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