padding method

NikuButton padding(
  1. EdgeInsets padding
)

Apply padding using EdgeInset

Equivalent to

TextButton(
  padding: input
)

Implementation

NikuButton padding(EdgeInsets padding) {
  this._pt = padding.top;
  this._pl = padding.left;
  this._pb = padding.bottom;
  this._pr = padding.right;

  return this;
}