track

fun track(visible: Boolean = true, color: Color = StyleDefaults.gaugeTrackColor): GaugeTrackStyle(source)

Returns a GaugeTrackStyle with the provided parameters or their default values.

Parameters

visible

Whether the track is drawn. Defaults to true.

color

The track color. Defaults to the surface variant color of the MaterialTheme.