center method

NikuText center()

Set alignment to center

Equivalent to

Text(textAlign: TextAlign.center)

Implementation

NikuText center() {
  this._textAlign = TextAlign.center;

  return this;
}