setColor method
Apply all color property using named property
Equivalent to
IconButton(
color: color
disabled: disabled,
focus: focus,
hover: hover,
highlight: highlight,
splash: splash
)
Implementation
NikuIconButton setColor(
{Color? color,
Color? disabled,
Color? focus,
Color? hover,
Color? highlight,
Color? splash}) {
this._color = color;
this._disabledColor = disabled;
this._focusColor = focus;
this._hoverColor = hover;
this._highlightColor = highlight;
this._splashColor = highlight;
return this;
}