NiceErrorHandler constructor

const NiceErrorHandler({
  1. Key? key,
  2. required Widget child,
  3. Widget? fallback,
  4. Widget fallbackBuilder(
    1. Object error,
    2. VoidCallback retry
    )?,
  5. void onError(
    1. Object error,
    2. StackTrace? stack
    )?,
  6. bool showRetry = true,
  7. String? retryLabel,
  8. String? title,
})

Implementation

const NiceErrorHandler({
  super.key,
  required this.child,
  this.fallback,
  this.fallbackBuilder,
  this.onError,
  this.showRetry = true,
  this.retryLabel,
  this.title,
});