ScreenshotConfiguration constructor
- InAppWebViewRect? rect,
- double? snapshotWidth,
- CompressFormat? compressFormat,
- int quality = 100,
- @Deprecated("Use afterScreenUpdates instead") bool? iosAfterScreenUpdates,
- bool afterScreenUpdates = true,
Implementation
ScreenshotConfiguration({
this.rect,
this.snapshotWidth,
CompressFormat? compressFormat,
this.quality = 100,
@Deprecated("Use afterScreenUpdates instead") this.iosAfterScreenUpdates,
this.afterScreenUpdates = true,
}) : compressFormat = compressFormat ?? CompressFormat.PNG {
assert(this.quality >= 0);
this.afterScreenUpdates = this.iosAfterScreenUpdates != null
? this.iosAfterScreenUpdates!
: this.afterScreenUpdates;
}