borderWidth method

NikuOutlineButton borderWidth(
  1. double width
)

Set border width

Equivalent to

OutlineButton(
  borderSide: BorderSide(
    width: input
  )
);

Implementation

NikuOutlineButton borderWidth(double width) {
  this._borderSide = BorderSide(
      color: this._borderSide?.color ?? Colors.black12,
      width: width,
      style: this._borderSide?.style ?? BorderStyle.solid);

  return this;
}