BlocBuilderBase<B extends StateStreamable<S> , S> constructor
const
BlocBuilderBase<B extends StateStreamable<S> , S> ({
- Key? key,
- B? bloc,
- BlocBuilderCondition<
S> ? buildWhen,
Base class for widgets that build themselves based on interaction with a specified bloc.
A BlocBuilderBase is stateful and maintains the state of the interaction so far. The type of the state and how it is updated with each interaction is defined by sub-classes.
Implementation
const BlocBuilderBase({Key? key, this.bloc, this.buildWhen})
: super(key: key);