FallbackScreen constructor

const FallbackScreen({
  1. Key? key,
  2. String title = 'Something went wrong',
  3. String subtitle = 'An unexpected error occurred.',
  4. ErrorFingerprint? fingerprint,
  5. AppSnapshot? lastSnapshot,
  6. required VoidCallback onRestart,
  7. required VoidCallback onStartFresh,
  8. bool isInCrashLoop = false,
})

Implementation

const FallbackScreen({
  super.key,
  this.title = 'Something went wrong',
  this.subtitle = 'An unexpected error occurred.',
  this.fingerprint,
  this.lastSnapshot,
  required this.onRestart,
  required this.onStartFresh,
  this.isInCrashLoop = false,
});