align method

NikuButton align(
  1. Alignment align
)

Apply alignment to widget

Equivalent to:

TextButton(
  alignment: input
)

Implementation

NikuButton align(Alignment align) {
  this._alignment = align;

  return this;
}