LINK_ACTIVATED property
final
A link with an href attribute was activated by the user.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - WKNavigationType.linkActivated)
- macOS WKWebView (Official API - WKNavigationType.linkActivated)
- Windows WebView2
Implementation
static final LINK_ACTIVATED = NavigationType._internalMultiPlatform(
'LINK_ACTIVATED',
() {
switch (defaultTargetPlatform) {
case TargetPlatform.iOS:
return 0;
case TargetPlatform.macOS:
return 0;
case TargetPlatform.windows:
return 0;
default:
break;
}
return null;
},
);