handleStartBackGesture method

  1. @override
void handleStartBackGesture({
  1. double progress = 0.0,
})
override

Handles a predictive back gesture starting.

The progress parameter indicates the progress of the gesture from 0.0 to 1.0, as in PredictiveBackEvent.progress.

Implementation

@override
void handleStartBackGesture({double progress = 0.0}) {
  assert(isCurrent);
  _controller?.value = progress;
  navigator?.didStartUserGesture();
}