topLeft method

NikuButton topLeft()

Apply widget to top left

Equivalent to:

TextButton(
  alignment: Alignment.topLeft
)

Implementation

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

  return this;
}