onNavigationRequest abstract method
Invoked by WebViewPlatformController when a navigation request is pending.
If true is returned the navigation is allowed, otherwise it is blocked.
Implementation
FutureOr<bool> onNavigationRequest({required String url, required bool isForMainFrame});