Viewport constructor

Viewport({
  1. required num x,
  2. required num y,
  3. required num width,
  4. required num height,
  5. required num scale,
})

Implementation

Viewport(
    {required this.x,
    required this.y,
    required this.width,
    required this.height,
    required this.scale});