updateContrast method

void updateContrast(
  1. ZetaContrast contrast
)

Updates the current contrast.

Implementation

void updateContrast(ZetaContrast contrast) {
  setState(() {
    _contrast = contrast;
    _zetaThemeData = _zetaThemeData.apply(contrast: contrast);
    _saveThemeChange();
  });
}