ComicTones class
Four semantic inks, each legible on the current panel ground.
- Annotations
Constructors
- ComicTones({required Color info, required Color success, required Color warning, required Color danger})
-
Creates semantic inks.
const
Properties
Methods
-
copyWith(
{Color? info, Color? success, Color? warning, Color? danger}) → ComicTones - Changes only the supplied inks.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
of(
ComicTone tone) → Color - The ink corresponding to a meaning.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
lerp(
ComicTones a, ComicTones b, double t) → ComicTones - Blends all four inks.
Constants
- dark → const ComicTones
- Inks for dark panels.
- light → const ComicTones
- Inks for light newsprint.