configure static method

Future<void> configure({
  1. required List<AppTheme> themes,
})

Registers all theme dependencies. Safe to call more than once: previous registrations are disposed first.

Implementation

static Future<void> configure({required List<AppTheme> themes}) async {
  await themeLocator.reset();
  await appThemeModule(themes: themes);
}