copyWith method

MiniPlayerThemeData copyWith({
  1. Color? iconColor,
  2. Color? backgroundColor,
  3. Color? thumbnailBorderColor,
  4. Color? topBorderColor,
  5. TextStyle? titleStyle,
  6. TextStyle? secondaryTitleStyle,
})

Implementation

MiniPlayerThemeData copyWith({
  Color? iconColor,
  Color? backgroundColor,
  Color? thumbnailBorderColor,
  Color? topBorderColor,
  TextStyle? titleStyle,
  TextStyle? secondaryTitleStyle,
}) {
  return MiniPlayerThemeData(
    iconColor: iconColor ?? this.iconColor,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    thumbnailBorderColor: thumbnailBorderColor ?? this.thumbnailBorderColor,
    topBorderColor: topBorderColor ?? this.topBorderColor,
    titleStyle: titleStyle ?? this.titleStyle,
    secondaryTitleStyle: secondaryTitleStyle ?? this.secondaryTitleStyle,
  );
}