overrideMacOSBrightness static method

Future<void> overrideMacOSBrightness({
  1. required bool dark,
})

Overrides the brightness setting of the window (macOS only).

Implementation

static Future<void> overrideMacOSBrightness({
  required bool dark,
}) async {
  WindowManipulator.overrideMacOSBrightness(dark: dark);
}