didStartUserGesture method

void didStartUserGesture(
  1. Route route,
  2. Route? previousRoute
)

The Navigator's routes are being moved by a user gesture.

For example, this is called when an iOS back gesture starts, and is used to disable hero animations during such interactions.

Implementation

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