MAIN_FRAME property
final
Indicates that the frame is a primary main frame(webview).
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - COREWEBVIEW2_FRAME_KIND_MAIN_FRAME)
Implementation
static final MAIN_FRAME = FrameKind._internalMultiPlatform('MAIN_FRAME', () {
switch (defaultTargetPlatform) {
case TargetPlatform.windows:
return 1;
default:
break;
}
return null;
});