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