StateBuilderConfig class

Used for configuring default behavior on specific states for all StateBuilders

Constructors

StateBuilderConfig()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onError(BuildContext context, StateError state) Widget
Called when the state is error state (extends StateError)
onLoading(BuildContext context, StateLoading state) Widget
Called when the state is a loading state (extends StateLoading )
onOther(BuildContext context, BlocState state) Widget
Called on any other state that is not a loading, error or success state
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited