presentation/presentation library

Presentation layer exports for bloc_small package.

This barrel file exports all presentation components including:

  • Base classes for pages (BLoC and Cubit)
  • BLoC implementations (MainBloc, CommonBloc)
  • Cubit implementations (MainCubit)
  • Reusable widgets (LoadingIndicator)

Classes

BaseAppRouter
Base class for implementing application routing using auto_route.
BaseBlocDelegate<E extends MainBlocEvent, S extends MainBlocState>
BaseBlocPage<B extends MainBloc<MainBlocEvent, MainBlocState>>
A base class for all stateless widget pages in the application that use a Bloc.
BaseBlocPageState<T extends StatefulWidget, B extends MainBloc<MainBlocEvent, MainBlocState>>
A base class for all StatefulWidget states in the application that use a Bloc.
BaseCubitDelegate<S extends MainBlocState>
BaseCubitPage<C extends MainCubit<MainBlocState>>
A base class for all stateless widget pages in the application that use a Cubit.
BaseCubitPageState<T extends StatefulWidget, C extends MainCubit<MainBlocState>>
A base class for all StatefulWidget states in the application that use a Cubit.
BasePageDelegate<T extends StatefulWidget, B extends StateStreamableSource<Object?>>
A base delegate class for StatefulWidget states that use either Bloc or Cubit.
BasePageStatelessDelegate<B extends StateStreamableSource<Object?>>
A base delegate class for StatelessWidget that use either Bloc or Cubit.
CommonBloc
CommonEvent
Base class for all common application-wide events.
CommonState
Represents the state of common application-wide features.
LoadingIndicator
A platform-aware loading indicator widget.
MainBloc<E extends MainBlocEvent, S extends MainBlocState>
A base class for all Blocs in the application.
MainBlocEvent
A base class for all Bloc events in the application.
MainBlocState
A base class for all Bloc states in the application.
MainCubit<S extends MainBlocState>
A base class for all Cubits in the application.
SetComponentLoading
Event to control loading state for a specific component or operation.