surfaceStyle property

GlassSurfaceStyle? surfaceStyle
final

How the toggle's surface is painted.

If null (the default), inherits from the nearest ancestor InheritedGlassSurfaceStyle (e.g. a solid card or grouped section), falling back to GlassSurfaceStyle.glass.

Implementation

final GlassSurfaceStyle? surfaceStyle;