set method

NikuIconButton set({
  1. double iconSize = 24,
  2. VisualDensity? visualDensity,
  3. double pt = 0,
  4. double pl = 0,
  5. double pb = 0,
  6. double pr = 0,
  7. Alignment alignment = Alignment.center,
  8. double? splashRadius,
  9. Color? color,
  10. Color? focusColor,
  11. Color? hoverColor,
  12. Color? highlightColor,
  13. Color? splashColor,
  14. Color? disabledColor,
  15. VoidCallback? onPressed,
  16. MouseCursor mouseCursor = SystemMouseCursors.click,
  17. FocusNode? focusNode,
  18. bool autofocus = false,
  19. String? tooltip,
  20. bool enableFeedback = true,
  21. BoxConstraints? constraints,
})

Implementation

NikuIconButton set({
  double iconSize = 24,
  VisualDensity? visualDensity,
  double pt = 0,
  double pl = 0,
  double pb = 0,
  double pr = 0,
  Alignment alignment = Alignment.center,
  double? splashRadius,
  Color? color,
  Color? focusColor,
  Color? hoverColor,
  Color? highlightColor,
  Color? splashColor,
  Color? disabledColor,
  VoidCallback? onPressed,
  MouseCursor mouseCursor = SystemMouseCursors.click,
  FocusNode? focusNode,
  bool autofocus = false,
  String? tooltip,
  bool enableFeedback = true,
  BoxConstraints? constraints,
}) {
  this._iconSize = iconSize;
  this._visualDensity = visualDensity;
  this._pt = pt;
  this._pl = pl;
  this._pb = pb;
  this._pr = pr;
  this._alignment = alignment;
  this._splashRadius = splashRadius;
  this._color = color;
  this._focusColor = focusColor;
  this._hoverColor = hoverColor;
  this._highlightColor = highlightColor;
  this._splashColor = splashColor;
  this._disabledColor = disabledColor;
  this._onPressed = onPressed;
  this._mouseCursor = mouseCursor;
  this._focusNode = focusNode;
  this._autofocus = autofocus;
  this._tooltip = tooltip;
  this._enableFeedback = enableFeedback;
  this._constraints = constraints;

  return this;
}