init_builder library

Classes

InitBuilder<T>
A widget that initializes a value only when its configuration changes, useful for safe creation of async tasks.

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.