ScreenScope constructor

const ScreenScope({
  1. double minWidth = 0.0,
  2. double maxWidth = screenMaxDimension,
  3. double minHeight = 0.0,
  4. double maxHeight = screenMaxDimension,
  5. Orientation? orientation,
})

Implementation

const ScreenScope({
  this.minWidth = 0.0,
  this.maxWidth = screenMaxDimension,
  this.minHeight = 0.0,
  this.maxHeight = screenMaxDimension,
  this.orientation,
}) : assert(minWidth >= 0.0 &&
          minWidth <= maxWidth &&
          maxWidth <= screenMaxDimension &&
          minHeight >= 0.0 &&
          minHeight <= maxHeight &&
          maxHeight <= screenMaxDimension);