setBorderColor method
Set Set border color when highlighted
Equivalent to
OutlineButton(
borderSide: BorderSide(
color: input
),
disabledBorderColor: disabled,
highlightedBorderColor: highlighted
);
Implementation
NikuOutlineButton setBorderColor(
{Color? color, Color? disabled, Color? highlighted}) {
this._borderSide = BorderSide(
color: color ?? Colors.black12,
width: this._borderSide?.width ?? 1,
style: this._borderSide?.style ?? BorderStyle.solid);
this._disabledBorderColor = color;
this._highlightedBorderColor = color;
return this;
}