surfaceStyle property
How the field's surface is painted.
If null (the default), inherits from the nearest ancestor
InheritedGlassSurfaceStyle (such as a solid GlassContainer.card or
GlassGroupedSection), falling back to GlassSurfaceStyle.glass.
- GlassSurfaceStyle.glass: Renders the field with AdaptiveGlass, directional GlassGlow, and press-scale feedback.
- GlassSurfaceStyle.solid: Renders a flat recessed well (resolveGlassSolidWellColor by default, or color when provided) with zero shader or backdrop-filter overhead. settings, useOwnLayer, quality, interactionBehavior, pressScale, glowColor, and glowRadius are ignored.
Implementation
final GlassSurfaceStyle? surfaceStyle;