size property

Size size

The amount of space required to paint this text.

Valid only after layout has been called.

Implementation

Size get size {
  assert(!_needsLayout);
  return Size(width, height);
}