error_boundary 0.1.0
error_boundary: ^0.1.0 copied to clipboard
A robust error boundary widget for Flutter that catches and handles errors gracefully with recovery strategies, error reporting, and testing utilities.
0.1.0 #
- Initial release
ErrorBoundarywidget with fallback UI supportErrorInfoclass for structured error informationRecoveryStrategyfor configurable error recovery (retry, reset, none, custom)ErrorReporterinterface for pluggable error reporting- Built-in reporters:
ConsoleReporter- Development logging with severity filteringSentryReporter- Sentry integration with tags, context, and filteringFirebaseCrashlyticsReporter- Firebase Crashlytics integration with custom keysCompositeReporter- Combine multiple reporters
- Zone-based async error catching
- Nested boundary support with error bubbling
- Dev mode with detailed error display
- Extension methods for clean syntax (
widget.withErrorBoundary()) - Testing utilities (
ErrorTracker,ThrowingWidget,AsyncThrowingWidget)