showSaveAsUI method
- @SupportedPlatforms.new(platforms: [WindowsPlatform(apiName: 'ICoreWebView2_25.ShowSaveAsUI', apiUrl: 'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_25?view=webview2-1.0.2849.39#showsaveasui')])
Shows the Save As UI for the current document.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - ICoreWebView2_25.ShowSaveAsUI)
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
WindowsPlatform(
apiName: 'ICoreWebView2_25.ShowSaveAsUI',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_25?view=webview2-1.0.2849.39#showsaveasui',
),
],
)
Future<SaveAsUIResult?> showSaveAsUI() {
throw UnimplementedError(
'${PlatformInAppWebViewControllerMethod.showSaveAsUI.name} is not implemented on the current platform',
);
}