onPrint method

void onPrint(
  1. Uri? url
)

Event fired when window.print() is called from JavaScript side.

url represents the url on which is called.

Supported Platforms/Implementations:

  • Android native WebView
  • iOS

Implementation

void onPrint(Uri? url) {}