SwipeProgress

constructor(from: T, to: T, fraction: Float)

Parameters

from

The state corresponding to the anchor we are moving away from.

to

The state corresponding to the anchor we are moving towards.

fraction

The fraction that the current position represents between from and to. Must be between 0 and 1.