ErrorView constructor

const ErrorView({
  1. Key? key,
  2. required String title,
  3. TextStyle? titleStyle,
  4. required String message,
  5. TextStyle? messageStyle,
  6. String? buttonTitle,
  7. VoidCallback? retryAction,
  8. required Image image,
  9. Widget? retryButton,
  10. Color? backgroundColor,
  11. Decoration? backgroundDecoration,
})

Implementation

const ErrorView({
  super.key,
  required this.title,
  this.titleStyle,
  required this.message,
  this.messageStyle,
  this.buttonTitle,
  this.retryAction,
  required this.image,
  this.retryButton,
  this.backgroundColor,
  this.backgroundDecoration,
});