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