LinearColorSwatch class
Constructors
- LinearColorSwatch.new(Color? _base, {double factor = 0.01, SwatchConfig swatchConfig = SwatchConfig.lighter, DyteColorSwatch? colorSwatch})
-
factor
decides the percentage by which the colors will be generated for the swatch.
Properties
- colorSwatch → DyteColorSwatch?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shade1000 → Color
-
The default shade.
no setter
- shade600 → Color
-
The 4th lighter/darker shade.
no setter
- shade700 → Color
-
The 3rd lighter/darker shade.
no setter
- shade800 → Color
-
The 2nd lighter/darker shade.
no setter
- shade900 → Color
-
The 1st lighter/darker shade.
no setter
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