AFColor class

A pairing of each color and its dark mode variant.

Inheritance

Constructors

AFColor({required AFThemeID colorLight, required AFThemeID colorDark})
AFColor.createWithOne(AFThemeID color)
factory

Properties

colorDark → AFThemeID
final
colorDarkCache ↔ Color?
getter/setter pair
colorLight → AFThemeID
final
colorLightCache ↔ Color?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

color(Brightness brightness) → Color?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(AFFundamentalThemeState theme) → void
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited