copyWith method
ThemeWrapper
copyWith({
- EmergentThemeData? theme,
- EmergentThemeData? darkTheme,
- ThemeMode? currentTheme,
Implementation
ThemeWrapper copyWith({
EmergentThemeData? theme,
EmergentThemeData? darkTheme,
ThemeMode? currentTheme,
}) {
return ThemeWrapper(
theme: theme ?? this.theme,
darkTheme: darkTheme ?? this.darkTheme,
themeMode: currentTheme ?? themeMode,
);
}