s method

Apply custom shape to button

Equivalent to

TextButton(
  shape: MaterialStateProperty.resolveWith<T>((states) {
    return base;
  });
)

Implementation

NikuButton s(RoundedRectangleBorder input) {
  this._shape.updateAll(input);

  return this;
}