trackBrush

abstract fun trackBrush(slideFraction: Float): Brush?

Optional gradient brush for the track. If not null, this brush will be used instead of a solid color.

Return

A Brush for the track, or null if not used.

Parameters

slideFraction

The current progress of the swipe.