rounded method

NikuRaisedButton rounded([
  1. double radius = 999999
])

Apply border radius to button, will override shape

Equivalent to

RaisedButton(
  shape: RoundedRectangleBorder(
    borderRadius: BorderRadius.circular(input)
  )
);

Implementation

NikuRaisedButton rounded([double radius = 999999]) {
  this._shape =
      RoundedRectangleBorder(borderRadius: BorderRadius.circular(radius));

  return this;
}