ScreenScope constructor
const
ScreenScope({
- double minWidth = 0.0,
- double maxWidth = screenMaxDimension,
- double minHeight = 0.0,
- double maxHeight = screenMaxDimension,
- 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);