copyFrom method

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

Implementation

@override
AntdProgressBarStyle copyFrom(covariant AntdProgressBarStyle? style) {
  return AntdProgressBarStyle(
    color: style?.color ?? color,
    progressColor: style?.progressColor ?? progressColor,
    textStyle: textStyle.merge(style?.textStyle),
    radius: style?.radius ?? radius,
  );
}