ErrorBoundary constructor
const
ErrorBoundary({
- required Widget child,
- ErrorFallbackBuilder? fallbackBuilder,
- void onException(
- BaseException exception
- VoidCallback? onRetry,
- bool showDetails = false,
- Key? key,
Wraps a subtree with error handling and reporting helpers.
Implementation
const ErrorBoundary({
required this.child,
this.fallbackBuilder,
this.onException,
this.onRetry,
this.showDetails = false,
super.key,
});