FixedViewPort constructor

const FixedViewPort({
  1. double height = double.infinity,
  2. double width = double.infinity,
})

Implementation

const FixedViewPort({
  this.height = double.infinity,
  this.width = double.infinity,
})  : assert(height >= 0, 'height must not be negative, but got $height'),
      assert(width >= 0, 'width must not be negative, but got $width');