FailureCard constructor

const FailureCard({
  1. Key? key,
  2. required String title,
  3. String? message,
  4. Object? error,
  5. StackTrace? stackTrace,
  6. VoidCallback? onRetry,
  7. String? retryLabel,
  8. bool showRestart = false,
})

Implementation

const FailureCard({
  super.key,
  required this.title,
  this.message,
  this.error,
  this.stackTrace,
  this.onRetry,
  this.retryLabel,
  this.showRestart = false,
});