size property

Size get size

The amount of space required to paint this text.

Valid only after layout has been called.

Implementation

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