trackColor

abstract fun trackColor(slideFraction: Float): Color

Represents the color of the track. This color can change based on the swipe progress.

Return

The calculated color for the track at the given swipe fraction.

Parameters

slideFraction

The current progress of the swipe, from 0.0f (start) to 1.0f (end).