getCSSTheme method

Map<String, CSSValueBase>? getCSSTheme(
  1. int themeIndex
)

Implementation

Map<String, CSSValueBase>? getCSSTheme(int themeIndex) {
  if (_themes.isEmpty) return null;
  return themeIndex >= 0 && themeIndex < _themes.length
      ? _themes[themeIndex]
      : null;
}