copyWith method

ThemeWrapper copyWith({
  1. NeumorphicThemeData? theme,
  2. NeumorphicThemeData? darkTheme,
  3. 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,
  );
}