set method
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,
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;
}