BACK_FORWARD property
final
An item from the back-forward list was requested.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - WKNavigationType.formSubmitted)
- macOS WKWebView (Official API - WKNavigationType.formSubmitted)
- Windows WebView2 (Official API - COREWEBVIEW2_NAVIGATION_KIND_BACK_OR_FORWARD)
Implementation
static final BACK_FORWARD = NavigationType._internalMultiPlatform(
'BACK_FORWARD',
() {
switch (defaultTargetPlatform) {
case TargetPlatform.iOS:
return 2;
case TargetPlatform.macOS:
return 2;
case TargetPlatform.windows:
return 1;
default:
break;
}
return null;
},
);