async_error_boundary library

Classes

ErrorBoundary
A widget that catches errors from its child widget tree and displays fallback UI.
ErrorBoundaryProvider
An InheritedWidget that provides access to error boundary functions.

Typedefs

ErrorBoundaryState = ({Object? error})
The state for ErrorBoundary, containing the current error if any.
ErrorFallbackBuilder = Widget Function(BuildContext context, Object error, void resetErrorBoundary([Object? arg]))
A builder function for creating fallback UI when an error is caught.