copyFrom method

  1. @override
AntdSelectionStyle copyFrom(
  1. covariant AntdSelectionStyle? style
)
override

Implementation

@override
AntdSelectionStyle copyFrom(AntdSelectionStyle? style) {
  return AntdSelectionStyle(
    heightStyle: style?.heightStyle ?? heightStyle,
    widthStyle: style?.widthStyle ?? widthStyle,
    color: style?.color ?? color,
    enable: style?.enable ?? enable,
  );
}