alignment method

NikuButton alignment(
  1. Alignment align
)

Apply alignment to widget

Equivalent to:

TextButton(
  alignment: input
)

Implementation

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

  return this;
}