ExtendedColor class

Available extensions

Constructors

ExtendedColor({required Color seed, required Color value, required ColorFamily light, required ColorFamily lightHighContrast, required ColorFamily lightMediumContrast, required ColorFamily dark, required ColorFamily darkHighContrast, required ColorFamily darkMediumContrast})
const

Properties

dark → ColorFamily
final
darkHighContrast → ColorFamily
final
darkMediumContrast → ColorFamily
final
hashCode → int
The hash code for this object.
no setterinherited
light → ColorFamily
final
lightHighContrast → ColorFamily
final
lightMediumContrast → ColorFamily
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seed → Color
final
value → Color
final

Methods

forBrightness(Brightness brightness) → ColorFamily

Available on ExtendedColor, provided by the ExtendedColorHelpers extension

Returns the appropriate ColorFamily based on the current brightness.
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