didStartUserGesture method

void didStartUserGesture (Route route, Route previousRoute)

The Navigator's route route is being moved by a user gesture.

For example, this is called when an iOS back gesture starts.

Paired with a call to didStopUserGesture when the route is no longer being manipulated via user gesture.

If present, the route immediately below route is previousRoute. Though the gesture may not necessarily conclude at previousRoute if the gesture is canceled. In that case, didStopUserGesture is still called but a follow-up didPop is not.

Implementation

void didStartUserGesture(Route<dynamic> route, Route<dynamic> previousRoute) { }