core/core library

Core functionality exports for bloc_small package.

This barrel file exports all core components including:

  • Constants (loading keys)
  • Dependency injection setup
  • Error handling (handlers, states, exceptions)
  • Utilities (ReactiveSubject)

Classes

CoreModule
ErrorState
LoadingKey
ReactiveSubject<T>
A wrapper class for RxDart subjects that provides a simplified interface for reactive programming.

Mixins

BaseErrorHandlerMixin
A mixin that provides error handling capabilities for Blocs.
BlocErrorHandlerMixin<Event extends MainBlocEvent, State extends MainBlocState>
A mixin that provides error handling capabilities for Blocs. Implements BaseErrorHandlerMixin and adds specific Bloc error handling.
CubitErrorHandler<S extends MainBlocState>
A mixin that provides error handling capabilities for Cubits.
CubitErrorHandlerMixin<State extends MainBlocState>
A mixin that provides error handling capabilities for Cubits. Implements BaseErrorHandlerMixin and adds specific Cubit error handling.