merge method

StreamCheckboxStyle merge(
  1. StreamCheckboxStyle? other
)
inherited

Implementation

StreamCheckboxStyle merge(StreamCheckboxStyle? other) {
  final _this = (this as StreamCheckboxStyle);

  if (other == null || identical(_this, other)) {
    return _this;
  }

  if (!other.canMerge) {
    return other;
  }

  return copyWith(
    size: other.size,
    checkSize: other.checkSize,
    fillColor: other.fillColor,
    checkColor: other.checkColor,
    overlayColor: other.overlayColor,
    shape: other.shape,
    side: other.side,
  );
}