setSwapLightColors method

void setSwapLightColors(
  1. bool? value, [
  2. bool notify = true
])

Implementation

void setSwapLightColors(bool? value, [bool notify = true]) {
  if (value == null) return;
  if (value == _swapLightColors) return;
  _swapLightColors = value;
  if (notify) notifyListeners();
  unawaited(_themeService.save(Store.keySwapLightColors, value));
}