textAlign property
TextAlign
get
textAlign
How the text should be aligned horizontally.
Implementation
TextAlign get textAlign => _textPainter.textAlign;
set
textAlign
(TextAlign value)
Implementation
set textAlign(TextAlign value) {
if (_textPainter.textAlign == value) return;
_textPainter.textAlign = value;
}