rounded method

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

Apply border radius to button, will override shape

Equivalent to

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

Implementation

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

  return this;
}