width property

double width

The horizontal space required to paint this text.

Valid only after layout has been called.

Implementation

double get width {
  assert(!_needsLayout);
  return _applyFloatingPointHack(_paragraph.width);
}