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