size property

Size? get size

The size of the text box

Implementation

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

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