custom_bloc library
Classes
-
BaseBloc<
T, E> -
BaseModel<
T, E> - Base class for the library
- CustomBlocErrorWidget
- A simple button that can be used to display errors
-
CustomStreamBuilder<
T, E, T2, E2> - Widget class for the library. Basically wraps around and abstract a StreamBuilder widget
Enums
- ItemState
- Used to identity state of the library
Typedefs
-
AsyncDataWidgetBuilder<
T> = Widget Function(BuildContext context, T data) -
AsyncDataWidgetBuilder2<
T, T2> = Widget Function(BuildContext context, T snapshot, T2 snapshot2) -
AsyncDataWidgetBuilderMulti
= Widget Function(BuildContext context, List<
BaseModel> snapshots) -
AsyncErrorWidgetBuilder<
T, E> = Widget Function(BuildContext context, E error) - AsyncLoadingWidgetBuilder = Widget Function(BuildContext context)
- AsyncNoContentWidgetBuilder = Widget Function(BuildContext context)
- OnRetryCallback = dynamic Function()