Skip to main content

progress

Function progress 

Source
pub fn progress() -> f32
Expand description

The gesture’s progress, 0.0 at the start and 1.0 fully committed.

Returns the settling value for a moment after a cancelled gesture, so a view that follows it never jumps back to rest, and keeps easing to 1.0 for a moment after a commit, so the screen finishes leaving before the pop lands.