VoColorMode class

Holds the light and dark variants of a single color token. Use resolve to get the correct color for the current brightness.

Constructors

VoColorMode({required Color light, required Color dark})
const
VoColorMode.transparent()
factory

Properties

dark → Color
final
hashCode → int
The hash code for this object.
no setterinherited
light → Color
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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