copyWith method

SBBSliderStyle copyWith({
  1. Color? activeTrackColor,
  2. Color? inactiveTrackColor,
  3. Color? thumbColor,
  4. Color? thumbBorderColor,
  5. Color? thumbBackgroundColor,
  6. Color? iconColor,
  7. Color? disabledIconColor,
})

Implementation

SBBSliderStyle copyWith({
  Color? activeTrackColor,
  Color? inactiveTrackColor,
  Color? thumbColor,
  Color? thumbBorderColor,
  Color? thumbBackgroundColor,
  Color? iconColor,
  Color? disabledIconColor,
}) =>
    SBBSliderStyle(
      activeTrackColor: activeTrackColor ?? this.activeTrackColor,
      inactiveTrackColor: inactiveTrackColor ?? this.inactiveTrackColor,
      thumbColor: thumbColor ?? this.thumbColor,
      thumbBorderColor: thumbBorderColor ?? this.thumbBorderColor,
      iconColor: iconColor ?? this.iconColor,
      disabledIconColor: disabledIconColor ?? this.disabledIconColor,
    );