ErrorBoundary constructor
const
ErrorBoundary({})
Implementation
const ErrorBoundary({
super.key,
required this.child,
this.fallback,
this.onError,
this.title = 'Something went wrong',
this.subtitle = 'An unexpected error occurred. Please try again.',
});