handleLightEvent method
Handles the event to set the light theme.
Implementation
Stream<FastThemeBlocState> handleLightEvent() async* {
yield currentState.copyWith(
brightness: Brightness.light,
themeMode: ThemeMode.light,
);
}
Handles the event to set the light theme.
Stream<FastThemeBlocState> handleLightEvent() async* {
yield currentState.copyWith(
brightness: Brightness.light,
themeMode: ThemeMode.light,
);
}