copyWith method

TimelineThemeData copyWith({
  1. Color? lineColor,
  2. StrokeCap? strokeCap,
  3. double? strokeWidth,
})

Implementation

TimelineThemeData copyWith(
    {Color? lineColor, StrokeCap? strokeCap, double? strokeWidth}) {
  return TimelineThemeData(
    lineColor: lineColor ?? this.lineColor,
    strokeCap: strokeCap ?? this.strokeCap,
    strokeWidth: strokeWidth ?? this.strokeWidth,
  );
}