surfaceStyle property

GlassSurfaceStyle? surfaceStyle
final

How the badge surface is rendered.

When null (the default), inherits from the nearest ancestor InheritedGlassSurfaceStyle (such as a solid GlassContainer.card, GlassGroupedSection, or GlassModalSheet), falling back to GlassSurfaceStyle.glass.

Implementation

final GlassSurfaceStyle? surfaceStyle;