ErrorView constructor

const ErrorView({
  1. Key? key,
  2. String title = 'Something is not right!',
  3. String? subtitle,
  4. dynamic error,
  5. VoidCallback? onRetry,
  6. String? retryLabel,
})

Implementation

const ErrorView({
  super.key,
  this.title = 'Something is not right!',
  this.subtitle,
  this.error,
  this.onRetry,
  this.retryLabel,
});