currentTheme property
BaseThemeConfig?
get
currentTheme
Get the current BaseThemeConfig.
Implementation
BaseThemeConfig? get currentTheme {
if (_themes.isEmpty || currentThemeId.isEmpty) return null;
return _themes.firstWhere(
(theme) => theme.id == currentThemeId,
orElse: () => _themes.first,
);
}