Source set: Android
@ExperimentalWearMaterialApi
public class SwipeProgress<T>(
public val from: T,
public val to: T,
@FloatRange(from = 0.0, to = 1.0) public val fraction: Float,
)
Collects information about the ongoing swipe or animation in swipeable.
To access this information, use SwipeableState.progress.