TextAlign textAlign

How the text should be aligned horizontally.

Source

TextAlign get textAlign => _textPainter.textAlign;
void textAlign=(TextAlign value)

Source

set textAlign(TextAlign value) {
  if (_textPainter.textAlign == value)
    return;
  _textPainter.textAlign = value;
  markNeedsPaint();
}