contentSize property

Size? get contentSize

Best-known intrinsic dimensions of the VISIBLE content: the crop rect once a crop layer exists (what the preview shows and the close-morph snapshot rasterises), the decoded source otherwise, the asset-side hint until decode.

Implementation

Size? get contentSize {
  if (sourceSize == null) return _hintedContentSize;
  return _cameraContentRect.size;
}