textAlign property
How the text should be aligned horizontally.
After this is set, you must call layout before the next call to paint.
The textAlign property defaults to TextAlign.start.
Implementation
TextAlign get textAlign => _textAlign;
Implementation
set textAlign(TextAlign value) {
if (_textAlign == value) {
return;
}
_textAlign = value;
markNeedsLayout();
}