VisualViewport constructor Null safety

VisualViewport(
  1. {required num offsetX,
  2. required num offsetY,
  3. required num pageX,
  4. required num pageY,
  5. required num clientWidth,
  6. required num clientHeight,
  7. required num scale,
  8. num? zoom}
)

Implementation

VisualViewport(
    {required this.offsetX,
    required this.offsetY,
    required this.pageX,
    required this.pageY,
    required this.clientWidth,
    required this.clientHeight,
    required this.scale,
    this.zoom});