set method

NikuRaisedButton set({
  1. VoidCallback? onPressed,
  2. VoidCallback? onLongPressed,
  3. double pt = 0,
  4. double pb = 0,
  5. double pl = 0,
  6. double pr = 0,
  7. double mt = 0,
  8. double mb = 0,
  9. double ml = 0,
  10. double mr = 0,
  11. Color? color,
  12. Color? disabledColor,
  13. Color? focusColor,
  14. Color? hoverColor,
  15. Color? highlightColor,
  16. Color? splashColor,
  17. Color? textColor,
  18. Brightness? colorBrightness,
  19. double? elevation,
  20. double? focusElevation,
  21. double? hoverElevation,
  22. double? highlightElevation,
  23. double? disabledElevation,
  24. ShapeBorder? shape,
  25. Clip clipBehavior = Clip.antiAlias,
  26. bool autofocus = false,
  27. ButtonTextTheme? buttonTextTheme,
})

Implementation

NikuRaisedButton 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? disabledColor,
    Color? focusColor,
    Color? hoverColor,
    Color? highlightColor,
    Color? splashColor,
    Color? textColor,
    Brightness? colorBrightness,
    double? elevation,
    double? focusElevation,
    double? hoverElevation,
    double? highlightElevation,
    double? disabledElevation,
    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._disabledColor = disabledColor;
  this._focusColor = focusColor;
  this._hoverColor = hoverColor;
  this._highlightColor = highlightColor;
  this._splashColor = splashColor;
  this._textColor = textColor;
  this._colorBrightness = colorBrightness;
  this._elevation = elevation;
  this._focusElevation = focusElevation;
  this._hoverElevation = hoverElevation;
  this._highlightElevation = highlightElevation;
  this._disabledElevation = disabledElevation;
  this._shape = shape;
  this._clipBehavior = clipBehavior;
  this._autofocus = autofocus;
  this._buttonTextTheme = buttonTextTheme;

  return this;
}