textWidthBasis property

TextWidthBasis get textWidthBasis
inherited

Defines how to measure the width of the rendered text.

Implementation

TextWidthBasis get textWidthBasis => _textPainter.textWidthBasis;
set textWidthBasis (TextWidthBasis value)
inherited

Implementation

set textWidthBasis(TextWidthBasis value) {
  if (_textPainter.textWidthBasis == value) {
    return;
  }
  _textPainter.textWidthBasis = value;
  markNeedsTextLayout();
}