showSaveAsUI method

  1. @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')])
Future<SaveAsUIResult?> showSaveAsUI()

Shows the Save As UI for the current document.

Officially Supported Platforms/Implementations:

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',
  );
}