Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Make sure you add the following permissions to your Android Manifest
<uses-permission android:name="android.permission.WAKE_LOCK" />
```

## Caveats

Changing brightness sets the screen brightness for the current app only (on modern Android versions) and it also locks the brightness slider. See https://developer.android.com/reference/android/view/WindowManager.LayoutParams#screenBrightness for API details.

## Example
``` dart
// Import package
Expand Down