StatefulValueBuilder<T, E extends Object> typedef
Called when we have a value to show.
inProgress is true when we are in a loading/updating state but can still show value.
error is provided when we are in a failure state but still have a previous value.
Implementation
typedef StatefulValueBuilder<T, E extends Object> = Widget Function(
T value,
bool inProgress, {
E? error,
});