ensureThemeLoaded method

void ensureThemeLoaded()

Ensures that the defaultThemeIndex is loaded into DOM.

Implementation

void ensureThemeLoaded() {
  if (!_loadedTheme) {
    loadTheme(defaultThemeIndex);
  }
}