operator [] method
Returns the ThemeData for the given themeId
or
the fallbackTheme specified in the constructor
if themeId
is not registered in the collection.
Implementation
ThemeData operator [](int themeId) {
if (_themes.containsKey(themeId))
return _themes[themeId]!;
else
return _fallbackTheme;
}