stated_result_builder library Null safety

Classes

ActionResultBuilder
Widget that builds UI according to the state of AsyncActionResult or ActionResult
ActionResultFutureBuilder
BusyIndicatorBuilder
Widget to build progress indicator if result is WatinigResult
DefaultFailedResultBuilder
Provide defauilt failed builder to child
DefaultPendingResultBuilder
Provide defauilt pending builder to child
DefaultResultBuilder
Provide multiple defauilt builders to child
DefaultWaitingResultBuilder
Provide defauilt waiting builder to child
Emptyable
Contract for type can check whether it is empty or not
EmptyableContentBuilder<T>
A builder handles blank content. It invokes emptyBuilder when value given is blank. Oherwise, builder will be used.
QueryResultBuilder<T>
Widget that builds UI according to the state of AsyncQueryResult or QueryResult
QueryResultFutureBuilder<T>

Typedefs

EmptyChecker<T> = bool Function(T value)
Contract to check whether the given value is considered as balnk
FailedResultBuilder = Widget Function(BuildContext context, ErrorWithStack errorInfo)
Widget builder that accepts an error/exception with its optional stack trace
ValueResultBuilder<T> = Widget Function(BuildContext context, T value)
Widget builder that accepts a given value but without child