surfaceStyle property
How the chip'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 chip with GlassButton glass, directional GlassGlow, and press-stretch feedback.
- GlassSurfaceStyle.solid: Renders a flat pill well (resolveGlassSolidWellColor by default, color when unselected, or selectedColor when selected is true) with zero shader or backdrop-filter overhead. settings, useOwnLayer, quality, platformViewBackdrop, interactionScale, stretch, glowRadius, anchorStretch, and anchorStretchSettings are ignored.
Implementation
final GlassSurfaceStyle? surfaceStyle;