WEBARCHIVE property
final
WebArchive is a web Archive format used primarily on iOS and macOS platforms to save web pages, including HTML content, images, stylesheets, and scripts, into a single file for offline access.
Officially Supported Platforms/Implementations:
- iOS WKWebView
- macOS WKWebView
Implementation
static final WEBARCHIVE = WebArchiveFormat._internalMultiPlatform(
'webarchive',
() {
switch (defaultTargetPlatform) {
case TargetPlatform.iOS:
return 'webarchive';
case TargetPlatform.macOS:
return 'webarchive';
default:
break;
}
return null;
},
);