textAlign method

NikuSelectableText textAlign(
  1. TextAlign textAlign
)

The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.

Equivalent to

Text(textAlign: input)

Implementation

NikuSelectableText textAlign(TextAlign textAlign) {
  _textAlign = textAlign;

  return this;
}