CustomError constructor

const CustomError({
  1. required Image errorImage,
  2. required String errorTitle,
  3. required String errorMessage,
  4. String? buttonTitle,
  5. VoidCallback? retryAction,
})

Implementation

const CustomError({
  required this.errorImage,
  required this.errorTitle,
  required this.errorMessage,
  this.buttonTitle,
  this.retryAction,
});