merge method

Creates a copy of this WxAnchorThemeData but with the given fields replaced with the new values.

Implementation

WxAnchorThemeData merge(WxAnchorThemeData? other) {
  // if null return current object
  if (other == null) return this;

  return copyWith(
    curve: other.curve,
    duration: other.duration,
    platform: other.platform,
    style: other.style,
    overlay: other.overlay,
    feedback: other.feedback,
    focusable: other.focusable,
    disabled: other.disabled,
    mouseCursor: other.mouseCursor,
  );
}