ThemeBloc constructor
ThemeBloc({
- required ThemeRepository themeRepository,
Implementation
ThemeBloc({required this.themeRepository}) : super(ThemeInitial()) {
on<ThemeInitialEvent>(_onThemeInitialEvent);
on<ThemeChangedEvent>(_onThemeChangedEvent);
on<CustomThemeEvent>(_onCustomThemeEvent);
on<ThemeFollowSystemEvent>(_onThemeFollowSystemEvent);
}