cameraRect property

Rect cameraRect

Implementation

Rect get cameraRect => Rect.fromCenter(
      center: Offset(position.dx, position.dy),
      width: (gameRef.size.x) * _zoomFactor(),
      height: (gameRef.size.y) * _zoomFactor(),
    );