copyWith method

NowIndicatorStyle copyWith({
  1. NowIndicatorShape? shape,
  2. Color? lineColor,
  3. double? lineWidth,
})

Implementation

NowIndicatorStyle copyWith({
  NowIndicatorShape? shape,
  Color? lineColor,
  double? lineWidth,
}) {
  return NowIndicatorStyle.raw(
    shape: shape ?? this.shape,
    lineColor: lineColor ?? this.lineColor,
    lineWidth: lineWidth ?? this.lineWidth,
  );
}