onPrint method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform()])
  2. @Deprecated("Use onPrintRequest instead")
void onPrint(
  1. Uri? url
)

Use onPrintRequest instead

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform(), IOSPlatform()])
@Deprecated("Use onPrintRequest instead")
void onPrint(Uri? url) {}