opt: brightness

This commit is contained in:
bggRGjQaUbCoE
2024-09-20 18:35:36 +08:00
parent 1d50eb0724
commit 511c9be62a
2 changed files with 21 additions and 6 deletions

View File

@@ -1014,6 +1014,10 @@ class PlPlayerController {
}
}
void setCurrBrightness(double brightness) {
_currentBrightness.value = brightness;
}
Future<void> setBrightness(double brightness) async {
try {
this.brightness.value = brightness;