fillWithDefaults method
Implementation
ControlsThemeData fillWithDefaults(ControlsThemeData defaults) {
return ControlsThemeData(
primaryColor: primaryColor ?? defaults.primaryColor,
iconColor: iconColor ?? defaults.iconColor,
durationTextStyle: durationTextStyle ?? defaults.durationTextStyle,
settingsListBackgroundColor: settingsListBackgroundColor ?? defaults.settingsListBackgroundColor,
settingsListTextStyle: settingsListTextStyle ?? defaults.settingsListTextStyle,
fullscreenTitleStyle: fullscreenTitleStyle ?? defaults.fullscreenTitleStyle,
progressBarTheme: progressBarTheme ?? defaults.progressBarTheme,
playNextButtonBackgroundColor: playNextButtonBackgroundColor ?? defaults.playNextButtonBackgroundColor,
playNextButtonProgressColor: playNextButtonProgressColor ?? defaults.playNextButtonProgressColor,
);
}