mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: brightness
This commit is contained in:
@@ -1014,6 +1014,10 @@ class PlPlayerController {
|
||||
}
|
||||
}
|
||||
|
||||
void setCurrBrightness(double brightness) {
|
||||
_currentBrightness.value = brightness;
|
||||
}
|
||||
|
||||
Future<void> setBrightness(double brightness) async {
|
||||
try {
|
||||
this.brightness.value = brightness;
|
||||
|
||||
Reference in New Issue
Block a user