DeviceViewport constructor

const DeviceViewport({
  1. int width = 1280,
  2. int height = 1024,
  3. num deviceScaleFactor = 1,
  4. bool isMobile = false,
  5. bool isLandscape = false,
  6. bool hasTouch = false,
})

Implementation

const DeviceViewport(
    {this.width = 1280,
    this.height = 1024,
    this.deviceScaleFactor = 1,
    this.isMobile = false,
    this.isLandscape = false,
    this.hasTouch = false});