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