ColorScheme class
- Annotations
Constructors
- ColorScheme(Brightness brightness, [HSLColor primary = kDefaultPrimary])
Properties
- background → HSLColor
-
no setter
- background1 → HSLColor
-
no setter
- background2 → HSLColor
-
no setter
- background3 → HSLColor
-
no setter
- brightness → Brightness
-
final
- disabled → HSLColor
-
no setter
- error → HSLColor
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- overlay1 → HSLColor
-
no setter
- overlay2 → HSLColor
-
no setter
- overlay3 → HSLColor
-
no setter
- overlay4 → HSLColor
-
no setter
- overlay5 → HSLColor
-
no setter
- primary → HSLColor
-
no setter
- primary1 → HSLColor
-
no setter
- primary2 → HSLColor
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shade → HSLColor
-
no setter
- shade1 → HSLColor
-
no setter
- shade2 → HSLColor
-
no setter
- shade3 → HSLColor
-
no setter
- shade4 → HSLColor
-
no setter
- shade5 → HSLColor
-
no setter
- shade6 → HSLColor
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shadeColorFromLightness(
HSLColor value) → HSLColor - Calculates a color lightness according to the current brightness.
-
toString(
) → String -
A string representation of this object.
inherited
-
withBrightness(
Brightness brightness) → ColorScheme
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited