pub fn PredictiveBackHandler(
enabled: bool,
on_gesture: impl FnMut(BackGesture) + 'static,
on_back: impl FnMut() + 'static,
)Expand description
BackHandler that also follows an interactive back gesture while it
moves: Compose’s PredictiveBackHandler. on_gesture receives each step;
a gesture that goes back ends in on_back, one that does not ends in
BackGesture::Cancelled.