StagedViewport constructor

const StagedViewport({
  1. required double width,
  2. required double height,
  3. double pixelRatio = 1,
  4. double insetTop = 0,
  5. double insetRight = 0,
  6. double insetBottom = 0,
  7. double insetLeft = 0,
  8. DevicePlatform? platform,
  9. double keyboard = 0,
  10. bool keyboardUp = false,
})

Implementation

const StagedViewport({
  required this.width,
  required this.height,
  this.pixelRatio = 1,
  this.insetTop = 0,
  this.insetRight = 0,
  this.insetBottom = 0,
  this.insetLeft = 0,
  this.platform,
  this.keyboard = 0,
  this.keyboardUp = false,
});