copyFrom method

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

Implementation

@override
AntdDividerStyle copyFrom(covariant AntdDividerStyle? style) {
  return AntdDividerStyle(
      width: style?.width ?? width,
      verticalHeight: style?.verticalHeight ?? verticalHeight,
      color: style?.color ?? color,
      margin: style?.margin ?? margin,
      childStyle: childStyle.merge(style?.childStyle));
}