setBlendOnLevel method

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

Implementation

void setBlendOnLevel(int? value, [bool notify = true]) {
  if (value == null) return;
  if (value == _blendOnLevel) return;
  _blendOnLevel = value;
  if (notify) notifyListeners();
  unawaited(_themeService.save(Store.keyOnBlendLevel, value));
}