LayoutStrategy.withDimensions constructor

const LayoutStrategy.withDimensions({
  1. int? width,
  2. int? height,
})

Uses the provided width and height as the webview layout dimensions

Omitting any will fallback to device default width and height

Implementation

const LayoutStrategy.withDimensions({
  this.width,
  this.height,
});