apply method

ZetaThemeData apply({
  1. required ZetaContrast contrast,
})

Applies the given contrast to the current ZetaThemeData and returns a new ZetaThemeData with the updated contrast.

Implementation

ZetaThemeData apply({
  required ZetaContrast contrast,
}) {
  return ZetaThemeData(
    contrast: contrast,
    identifier: identifier,
    fontFamily: fontFamily,
    colorsDark: colorsDark,
    colorsLight: colorsLight,
  );
}