ThemeAddon<T> constructor

ThemeAddon<T>(
  1. Map<String, T> themes,
  2. ThemeBuilder<T> builder
)

Implementation

ThemeAddon(this.themes, this.builder)
    : super(
        name: 'Theme',
        modeBuilder: (theme) => ThemeMode(theme, builder),
      );