rect property

Rect get rect

Implementation

Rect get rect => Rect.fromCenter(
      center: previewSize.center(Offset.zero),
      width: previewSize.width,
      height: previewSize.height,
    );