currentSize property

Size? get currentSize

Current viewport size that the renderer is configured for.

Implementation

Size? get currentSize => _camera == null
    ? null
    : Size(
        _camera!.width.toDouble(),
        _camera!.height.toDouble(),
      );