setNavigationDelegate method

Future<void> setNavigationDelegate(
  1. NavigationDelegate delegate
)

Sets the NavigationDelegate containing the callback methods that are called during navigation events.

Implementation

Future<void> setNavigationDelegate(NavigationDelegate delegate) {
  return platform.setPlatformNavigationDelegate(delegate.platform);
}