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
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