apply property

set apply (NikuIconButton? v)
override

Implementation

set apply(NikuIconButton? v) {
  if (v == null) return;

  onPressed = v.onPressed ?? onPressed;
  iconSize = v.iconSize ?? iconSize;
  visualDensity = v.visualDensity ?? visualDensity;
  padding = v.padding ?? padding;
  alignment = v.alignment ?? alignment;
  splashRadius = v.splashRadius ?? splashRadius;
  color = v.color ?? color;
  focusColor = v.focusColor ?? focusColor;
  hoverColor = v.hoverColor ?? hoverColor;
  highlightColor = v.highlightColor ?? highlightColor;
  splashColor = v.splashColor ?? splashColor;
  disabledColor = v.disabledColor ?? disabledColor;
  onPressed = v.onPressed ?? onPressed;
  mouseCursor = v.mouseCursor ?? mouseCursor;
  focusNode = v.focusNode ?? focusNode;
  autofocus = v.autofocus ?? autofocus;
  tooltip = v.tooltip ?? tooltip;
  enableFeedback = v.enableFeedback ?? enableFeedback;
  constraints = v.constraints ?? constraints;
  variant = v.variant ?? variant;

  $parent..$merge(v.$parent);
}