shape method

NikuFlatButton shape(
  1. ShapeBorder shape
)

Apply custom shape to button

Equivalent to

FlatButton(
  shape: input
)

Implementation

NikuFlatButton shape(ShapeBorder shape) {
  this._shape = shape;

  return this;
}