followSystem method

void followSystem()

Clears manual overrides so autoTheming / initialTheme apply again.

Implementation

void followSystem() {
  if (_brightnessOverride == null && !_invertPlatformBrightness) {
    return;
  }
  _brightnessOverride = null;
  _invertPlatformBrightness = false;
  notifyListeners();
}