CaptureStrategy.withDimensions constructor
Uses the provided width
and height
as the output dimensions
Omitting any will fallback to dimensions of WebView Layout
Passing negative will measure the dimensions and calculate accordingly
Implementation
const CaptureStrategy.withDimensions({
this.width,
this.height,
}) : script = null;