align method

NikuTextField align(
  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

NikuTextField align(TextAlign textAlign) {
  this._textAlign = textAlign;

  return this;
}