Shadow design tokens for consistent elevation and depth.
Provides pre-built BoxShadow lists for common surface types. Use these instead of inline BoxShadow definitions to maintain visual consistency across the app.
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
-
badge(
Color accentColor) → List< BoxShadow> - Badge/accent shadow — colored glow for status indicators and date badges.
-
card(
Color shadowColor) → List< BoxShadow> - Standard card shadow — subtle depth for content cards.
-
elevated(
Color shadowColor) → List< BoxShadow> - Elevated surface shadow — stronger depth for floating surfaces.