ActionBlocBuilder<B extends BlocBase<AsyncActionResult> > constructor
ActionBlocBuilder<B extends BlocBase<AsyncActionResult> > ({
- Key? key,
- B? bloc,
- WidgetBuilder? pendingBuilder,
- WidgetBuilder? waitingBuilder,
- FailedResultBuilder? failedBuilder,
- required WidgetBuilder builder,
- BlocBuilderCondition<
AsyncActionResult> ? buildWhen,
Implementation
ActionBlocBuilder({
Key? key,
B? bloc,
WidgetBuilder? pendingBuilder,
WidgetBuilder? waitingBuilder,
FailedResultBuilder? failedBuilder,
required WidgetBuilder builder,
BlocBuilderCondition<AsyncActionResult>? buildWhen,
}) : super(
key: key,
bloc: bloc,
builder: (context, result) => ActionResultBuilder(
result: result,
pendingBuilder: pendingBuilder,
waitingBuilder: waitingBuilder,
failedBuilder: failedBuilder,
builder: builder,
),
buildWhen: buildWhen,
);