Layered, colored-glow elevation — the signature of the bold look.
Instead of flat black drop shadows, surfaces cast a soft ambient black shadow and a tinted glow in their own accent color, which reads as premium and vibrant.
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
-
ambient(
{required bool isDark, double level = 1.0, Offset direction = const Offset(0, 1)}) → List< BoxShadow> - Neutral ambient elevation (no color tint) for content surfaces.
-
glow(
{required Color color, required bool isDark, double level = 1.0, Offset direction = const Offset(0, 1)}) → List< BoxShadow> -
Elevation with an accent glow.
level0..1 scales intensity. -
neon(
{required Color color, Offset direction = const Offset(0, 1)}) → List< BoxShadow> - Intense double-glow halo for the neon variant — a tight inner ring plus a wide diffuse bloom in the accent color.