sourceSize property

Size? get sourceSize

Source bitmap dims, once decoded; null until the first tool is opened (or ensureSourceForTest is called).

Implementation

Size? get sourceSize {
  final s = _source;
  if (s == null) return null;
  return Size(s.width.toDouble(), s.height.toDouble());
}