apply property

set apply (NikuPopupMenuButton? v)
override

Implementation

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

  initialValue = v.initialValue ?? initialValue;
  onSelected = v.onSelected ?? onSelected;
  onCanceled = v.onCanceled ?? onCanceled;
  tooltip = v.tooltip ?? tooltip;
  elevation = v.elevation ?? elevation;
  padding = v.padding ?? padding;
  icon = v.icon ?? icon;
  offset = v.offset ?? offset;
  enabled = v.enabled ?? enabled;
  shape = v.shape ?? shape;
  color = v.color ?? color;
  enableFeedback = v.enableFeedback ?? enableFeedback;
  iconSize = v.iconSize ?? iconSize;
  $parent..$merge(v.$parent);
}