DyteColorToken class
Constructors
- DyteColorToken.new({DyteColorSwatch? brandColorSwatch, DyteColorSwatch? backgroundColorSwatch, Color? brandColor, Color? backgroundColor, Color? textOnBrand, Color? textOnBackground, Color danger = _dyteDefaultError, Color success = _dyteDefaulSuccess, Color warning = _dyteDefaultWarning})
Properties
- backgroundColor → LinearColorSwatch
-
no setter
- brandColor → RangedColorSwatch
-
no setter
- danger → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → Color
-
final
- textColor → LinearColorSwatch
-
no setter
- warning → Color
-
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