onNavigationStart method

Future<void> onNavigationStart(
  1. OnNavigationStartCallback callback
)

Sets a callback that will be notified when the navigation starts.

See requestNavigation.

Implementation

Future<void> onNavigationStart(OnNavigationStartCallback callback) async {
  _onNavigationStartCallback = callback;
}