px method

NikuButton px(
  1. double padding
)

Apply padding to x axis

Equivalent to

TextButton(
  padding: EdgeInsets.symmetric(horizontal: input)
)

Implementation

NikuButton px(double padding) {
  this._pl = padding;
  this._pr = padding;

  return this;
}