error_boundary 0.1.0 copy "error_boundary: ^0.1.0" to clipboard
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
  • ErrorBoundary widget with fallback UI support
  • ErrorInfo class for structured error information
  • RecoveryStrategy for configurable error recovery (retry, reset, none, custom)
  • ErrorReporter interface for pluggable error reporting
  • Built-in reporters:
    • ConsoleReporter - Development logging with severity filtering
    • SentryReporter - Sentry integration with tags, context, and filtering
    • FirebaseCrashlyticsReporter - Firebase Crashlytics integration with custom keys
    • CompositeReporter - 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)
0
likes
140
points
35
downloads

Documentation

API reference

Publisher

verified publisherbrahimg.com

Weekly Downloads

A robust error boundary widget for Flutter that catches and handles errors gracefully with recovery strategies, error reporting, and testing utilities.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on error_boundary