blocx_core library
Support for doing something awesome.
More dartdocs go here.
Classes
-
BaseBloc<
E extends BaseEvent, S extends BaseState> - Base class for all blocs in the blocx ecosystem.
- BaseEvent
- BaseState
- BlocxAppEvent
- BlocxBaseEntity
- The base contract for all entities used with blocx.
-
BlocxBaseUseCase<
Input, Output> - Base abstraction for all use cases.
- BlocxEventHub
- BlocxEventOrigin
- BlocXLocalizations
-
BlocxPaginatedUseCaseTask<
Input extends BlocxPaginatedInput, Output extends BlocxBaseEntity> - Pairs a BlocxPaginatedUseCase with a lazily evaluated paginated input.
- BlocxSearchInput
- Input model for search + pagination use cases.
-
BlocxSearchUseCase<
Input extends BlocxSearchInput, Output extends BlocxBaseEntity> - Base class for paginated search use cases.
- BlocxSimpleEventHub
-
BlocxUseCaseFailure<
T> - A failed BlocxUseCaseResult carrying the error and optional stackTrace.
-
BlocxUseCaseResult<
T> - Represents the outcome of a BlocxBaseUseCase execution.
-
BlocxUseCaseSuccess<
T> - A successful BlocxUseCaseResult carrying the output data.
-
BlocxUseCaseTask<
Input, Output> - Pairs a BlocxBaseUseCase with a lazily evaluated input builder.
- ReadableError
- ScreenManagerCubit
- ScreenManagerCubitState
- ScreenManagerCubitStateDisplayErrorPage
- ScreenManagerCubitStateDisplayErrorPageByErrorCode
- ScreenManagerCubitStateDisplaySnackbar
- ScreenManagerCubitStateDisplaySnackbarByErrorCode
- ScreenManagerCubitStateInitial
- ScreenManagerCubitStatePop
Enums
- BlocXErrorCode
- BlocXSnackbarType
- ErrorDisplayPolicy
- Controls where errors are displayed after BaseBloc.handleError is called.
Mixins
Typedefs
-
InputBuilder<
Input> = Input Function() - Signature for a function that builds a use case input at execution time.
-
PaginatedInputBuilder<
Input extends BlocxPaginatedInput> = Input Function(int offset, int limit) - Signature for a function that builds a paginated use case input.