ZetaCustomTheme class

A custom theme that can be used to define custom colors for the app.

Constructors

ZetaCustomTheme({required String id, Color? primary, Color? primaryDark, Color? secondary, Color? secondaryDark})
Constructs a ZetaCustomTheme. To define every shade of a color, provide a ZetaColorSwatch or a MaterialColor. If only a Color is provided, a ZetaColorSwatch will be automatically generated.

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
The ID of the custom theme.
final
primary → ZetaColorSwatch?
The primary color of the custom theme.
final
primaryDark → ZetaColorSwatch?
The dark primary color of the custom theme.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondary → ZetaColorSwatch?
The secondary color of the custom theme.
final
secondaryDark → ZetaColorSwatch?
The dark secondary color of the custom theme.
final

Methods

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.
inherited