SpPalette class abstract final

Vivid, expressive palette per intent for light and dark themes.

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

gradientFrom(Color base) LinearGradient
Build a vivid two-stop gradient from any base color (for caller-supplied custom colors, e.g. a dialog driven by colorScheme.primary).
of(SpIntent intent, bool isDark) SpAccent
tonalFrom(Color base, bool isDark) Color
Soft tonal fill derived from any base color.