Flutter, using a bloc in a bloc
问题 I have two BLoCs. EstateBloc EstateTryBloc My Application basically gets estates from an API and displays them in a similar fashion Now I wanted to add a sort functionality, but I could only access the List of Estates via a specific state. if(currentState is PostLoadedState){{ print(currentState.estates); } I wanted to make the List of estates available for whichever bloc, that needed that list. What I did was, I created the EstateTryBloc, which basically contains the List of estates as a