copyWith method

ThemeConfig<T> copyWith({
  1. dynamic theme,
})

Implementation

ThemeConfig<T> copyWith({
  dynamic theme,
}) =>
    ThemeConfig<T>(
      builder: this.builder,
      initTheme: theme ?? this.initTheme,
      themes: this.themes,
    );