Viewport constructor

Viewport({
  1. required num width,
  2. required num height,
  3. num? deviceScaleFactor,
  4. bool? isMobile,
  5. bool? isLandscape,
  6. bool? hasTouch,
})

Implementation

Viewport({
  required this.width,
  required this.height,
  this.deviceScaleFactor,
  this.isMobile,
  this.isLandscape,
  this.hasTouch,
});