DefaultBuilderConfig class
This configuration will be used by the defaultBuilder()
To determine what to build when there is a Loading State and Error State
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
onError
→ Widget Function<
E>(ErrorState< E> state) -
no setter
- onLoading → Widget Function()
-
no setter
Static Methods
-
configure(
{Widget onLoading()?, Widget onError< E>(ErrorState< }) → dynamicE> state)? -
Call this function inside
mainto configure what Widget to show when there isLoading StateorError State