BlocBuilderWidget<S extends BlocState> constructor
const
BlocBuilderWidget<S extends BlocState> ({
- Key? key,
- required BlocBuilder<
S> builder, - required Bloc<
S> bloc, - bool forceBuildWhenInializating = true,
- bool onlyWhenInitializing = false,
- bool forceBuildWhenBusy = true,
- bool onlyWhenBusy = false,
- bool waitForData = false,
- WidgetBuilder? loadingBuilder,
- bool buildWhen(
- S previous,
- S next
Implementation
const BlocBuilderWidget({
super.key,
required this.builder,
required this.bloc,
this.forceBuildWhenInializating = true,
this.onlyWhenInitializing = false,
this.forceBuildWhenBusy = true,
this.onlyWhenBusy = false,
this.waitForData = false,
this.loadingBuilder,
this.buildWhen,
});