common/bloc/cubit_state library
Classes
- CubitErrorState
- A cubit state representing an error. CubitErrorState can track the originating error as well the stack trace. Each time a new CubitErrorState is created, it is streamed into CubitErrorState.stream so that you could implement a global error tracker/logger.
- CubitInformationState
- A cubit state representing a timely information, for example the confirmation of the execution of a process
- CubitLoadingState
- A cubit state representing a loading state. Cubit is fetching data and so is not in a ready state
- CubitSuccessState
- A Cubit state representing a lasting success/idle state. Extend this class and add all the relevant attributes you need to be in a success state