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(BuildContext context, ErrorState state)
-
no setter
- onLoading → Widget Function(BuildContext context)
-
no setter
Static Methods
-
configure(
{Widget onLoading(BuildContext context)?, Widget onError(BuildContext context, ErrorState state)?}) → void -
Call this function inside
mainto configure what Widget to show when there isLoading StateorError State