MyhomeBloc constructor
MyhomeBloc()
Implementation
MyhomeBloc() : super(MyhomeInitial()) {
on<ShowFirstSheet>((event, emit) {
emit(FirstSheetEnabled());
});
on<HideFirstSheet>((event, emit) {
emit(FirstSheetDisabled());
});
on<ShowSecondSheet>((event, emit) {
emit(SecondSheetEnabled());
});
on<HideSecondSheet>((event, emit) {
emit(SecondSheetDisabled());
});
}