handleThemeChangeEvent method
Handles the theme change events.
Implementation
Stream<FastThemeBlocState> handleThemeChangeEvent(
FastThemeBlocEventType? type,
) async* {
switch (type) {
case FastThemeBlocEventType.light:
yield* handleLightEvent();
case FastThemeBlocEventType.dark:
yield* handleDarkEvent();
case FastThemeBlocEventType.system:
yield* handleSystemEvent();
default:
break;
}
}