SpAccent class

The vivid accent + gradient + tonal fill for a single intent.

Annotations

Constructors

SpAccent({required Color base, required Color gradientStart, required Color gradientEnd, required Color tonalFill, required Color onAccent})
const

Properties

base Color
The signature solid accent (icon tint, glow, accent bar).
final
gradient LinearGradient
Diagonal bold gradient (top-left → bottom-right).
no setter
gradientEnd Color
final
gradientStart Color
Bold gradient — used for solid backgrounds, header bands, buttons, chips.
final
hashCode int
The hash code for this object.
no setterinherited
onAccent Color
Foreground color that sits on top of base/gradient.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tonalFill Color
Soft tinted background for the tonal variant.
final

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