onPrint property

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

Use onPrintRequest instead

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform(), IOSPlatform()])
@Deprecated("Use onPrintRequest instead")
final void Function(T controller, Uri? url)? onPrint;