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