ErrorBoundary constructor

const ErrorBoundary({
  1. Key? key,
  2. required Widget child,
  3. WidgetBuilder? fallbackBuilder,
  4. VoidCallback? onError,
  5. String? componentName,
})

Implementation

const ErrorBoundary({
  super.key,
  required this.child,
  this.fallbackBuilder,
  this.onError,
  this.componentName,
});