copyFrom method

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

Implementation

@override
AntInputCursorStyle copyFrom(AntInputCursorStyle? style) {
  return AntInputCursorStyle(
    color: style?.color ?? color,
    width: style?.width ?? width,
    height: style?.height ?? height,
    radius: style?.radius ?? radius,
    opacityAnimates: style?.opacityAnimates ?? opacityAnimates,
    offset: style?.offset ?? offset,
  );
}