BlocBuilderMixin mixin
A mixin that provides to the BlocBuilder the ability to wait for data before building.
- Mixin applications
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildLoadingWidgetIfNeeded<
S> (BuildContext context, AsyncSnapshot< S> snapshot, IBlocBuilder widget) → Widget? - Builds the loading widget if needed.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldWaitForData<
S> (bool canWait, AsyncSnapshot< S> snapshot) → bool -
Indicates if the BlocBuilder should wait for data.
If
true
, the BlocBuilder will wait for data before building the widget. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited