ZetaThemeData class

A representation of the Zeta theme data.

This class encapsulates the colors and fonts used for the Zeta theme in both light and dark modes.

Annotations

Constructors

ZetaThemeData({String fontFamily = kZetaFontFamily, String identifier = 'default', ZetaContrast contrast = ZetaContrast.aa, ZetaColors? colorsLight, ZetaColors? colorsDark, Color? primary, Color? secondary})
Constructs a ZetaThemeData.

Properties

colorsDark ZetaColors
The colors used for the dark mode of the Zeta theme.
no setter
colorsLight ZetaColors
The colors used for the light mode of the Zeta theme.
no setter
fontFamily String
The font family used in the Zeta theme.
final
hashCode int
The hash code for this object.
no setteroverride
identifier String
An Identifier cab be assigned to identify the theme uniquely.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply({required ZetaContrast contrast}) ZetaThemeData
Applies the given contrast to the current ZetaThemeData and returns a new ZetaThemeData with the updated contrast.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override