size property

Size get size

The size of the vector

Implementation

Size get size {
  final box = _getBoundingBox();
  if (box == null) return Size.zero;

  return Size(box.width?.toDouble() ?? 0.0, box.height?.toDouble() ?? 0.0);
}