async_builder library

Classes

AsyncBuilder<T>
A Widget that builds depending on the state of a Future or Stream.

Typedefs

ErrorBuilderFn = Widget Function(BuildContext context, Object error, StackTrace? stackTrace)
Signature for a function that builds a widget from an exception.
ErrorReporterFn = void Function(FlutterErrorDetails details)
Signature for a function that reports a flutter error, e.g. FlutterError.reportError.
ValueBuilderFn<T> = Widget Function(BuildContext context, T? value)
Signature for a function that builds a widget from a value.