copyWith method

ProgressBarColors copyWith({
  1. Color? backgroundColor,
  2. Color? playedColor,
  3. Color? bufferedColor,
  4. Color? handleColor,
})

Implementation

ProgressBarColors copyWith({
  Color? backgroundColor,
  Color? playedColor,
  Color? bufferedColor,
  Color? handleColor,
}) =>
    ProgressBarColors(
      backgroundColor: backgroundColor ?? this.backgroundColor,
      handleColor: handleColor ?? this.handleColor,
      bufferedColor: bufferedColor ?? this.bufferedColor,
      playedColor: playedColor ?? this.playedColor,
    );