set method
NikuOutlineButton
set({
- VoidCallback? onPressed,
- VoidCallback? onLongPressed,
- double pt = 0,
- double pb = 0,
- double pl = 0,
- double pr = 0,
- double mt = 0,
- double mb = 0,
- double ml = 0,
- double mr = 0,
- Color? color,
- Color? focusColor,
- Color? hoverColor,
- Color? highlightColor,
- Color? splashColor,
- Color? textColor,
- BorderSide? borderSide,
- Color? disabledBorderColor,
- Color? highlightedBorderColor,
- ShapeBorder? shape,
- Clip clipBehavior = Clip.antiAlias,
- bool autofocus = false,
- ButtonTextTheme? buttonTextTheme,
Implementation
NikuOutlineButton set({
VoidCallback? onPressed,
VoidCallback? onLongPressed,
double pt = 0,
double pb = 0,
double pl = 0,
double pr = 0,
double mt = 0,
double mb = 0,
double ml = 0,
double mr = 0,
Color? color,
Color? focusColor,
Color? hoverColor,
Color? highlightColor,
Color? splashColor,
Color? textColor,
BorderSide? borderSide,
Color? disabledBorderColor,
Color? highlightedBorderColor,
ShapeBorder? shape,
Clip clipBehavior = Clip.antiAlias,
bool autofocus = false,
ButtonTextTheme? buttonTextTheme,
}) {
this._onPressed = onPressed;
this._onLongPressed = onLongPressed;
this._pt = pt;
this._pb = pb;
this._pl = pl;
this._pr = pr;
this._mt = mt;
this._mb = mb;
this._ml = ml;
this._mr = mr;
this._color = color;
this._focusColor = focusColor;
this._hoverColor = hoverColor;
this._highlightColor = highlightColor;
this._splashColor = splashColor;
this._textColor = textColor;
this._borderSide = borderSide;
this._disabledBorderColor = disabledBorderColor;
this._highlightedBorderColor = highlightedBorderColor;
this._shape = shape;
this._clipBehavior = clipBehavior;
this._autofocus = autofocus;
this._buttonTextTheme = buttonTextTheme;
return this;
}