fillWithDefaults method

MiniPlayerThemeData fillWithDefaults(
  1. MiniPlayerThemeData defaults
)

Implementation

MiniPlayerThemeData fillWithDefaults(MiniPlayerThemeData defaults) {
  return MiniPlayerThemeData(
    iconColor: iconColor ?? defaults.iconColor,
    backgroundColor: backgroundColor ?? defaults.backgroundColor,
    thumbnailBorderColor: thumbnailBorderColor ?? defaults.thumbnailBorderColor,
    topBorderColor: topBorderColor ?? defaults.topBorderColor,
    titleStyle: titleStyle ?? defaults.titleStyle,
    secondaryTitleStyle: secondaryTitleStyle ?? defaults.secondaryTitleStyle,
  );
}