didStartUserGesture method
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
@override
void didStartUserGesture(
Route<dynamic> route, Route<dynamic>? previousRoute) {
super.didStartUserGesture(route, previousRoute);
// Only log if navigation logging is enabled AND log level permits
if (ZenConfig.shouldLogNavigation) {
final routeName = route.settings.name ?? 'unnamed';
ZenLogger.logDebug('Navigation gesture started on: $routeName');
}
}