rounded method
Apply border radius to button, will override shape
Equivalent to
FlatButton(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(input)
)
);
Implementation
NikuFlatButton rounded([double radius = 999999]) {
this._shape =
RoundedRectangleBorder(borderRadius: BorderRadius.circular(radius));
return this;
}