material3
fun GlassStyle.material3(containerColor: Color = MaterialTheme.colorScheme.surface, tint: Color? = null): GlassStyle
Returns a Material 3 Glass Style with this Style's writes applied after the theme defaults.
The default containerColor comes from the current MaterialTheme. A null tint omits the theme tint write, preserving any inherited tint. This Style can override either value. Call it on GlassStyle for the Material 3 values alone. The returned Style is reused while this Style, containerColor, and tint are unchanged, so remember or hoist this Style.