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

DefaultBuilderConfig()

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<E> state)?}) → dynamic
Call this function inside main to configure what Widget to show when there is Loading State or Error State