padding method

NikuRaisedButton padding(
  1. EdgeInsets padding
)

Apply padding using EdgeInset

Equivalent to

RaisedButton(
  padding: input
)

Implementation

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

  return this;
}