SpSurface class abstract final

Neutral surface + text colors for the content areas of each component.

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

background(bool isDark) Color
elevated(bool isDark) Color
Slightly raised neutral (e.g. colorHeader content area).
glassBorder(bool isDark) Color
Hairline highlight border that gives frosted glass its edge.
glassFill(bool isDark) Color
Translucent fill that sits in front of a BackdropFilter blur.
hairline(bool isDark) Color
handle(bool isDark) Color
neonSurface(bool isDark) Color
Deep, near-black surface that makes a neon accent border glow.
neonTextMuted(Color accent) Color
onSurface(bool isDark) Color
onSurfaceMuted(bool isDark) Color

Constants

glassBlur → const double
Blur strength for the glass variant's backdrop.
neonText → const Color
Foreground used on the dark neon surface.