duskmoon_theme_bloc library
BLoC for persisting theme name and mode via SharedPreferences.
Classes
- DmSetTheme
- Event to change the active theme by name.
- DmSetThemeMode
- Event to change the theme mode (light, dark, or system).
- DmThemeBloc
- BLoC that manages theme selection and mode with SharedPreferences persistence.
- DmThemeEvent
- Base class for all theme-related events.
- DmThemeState
- Immutable state holding the current theme name and mode.