CustomErrorState constructor

const CustomErrorState({
  1. String? title = '',
  2. String? message = '',
  3. String? image = '',
  4. String? buttonText = '',
  5. VoidCallback? onPressed,
  6. String secondaryButtonText = '',
  7. VoidCallback? onSecondaryPressed,
  8. dynamic errorModel,
})

Implementation

const CustomErrorState(
    {this.title = '',
    this.message = '',
    this.image = '',
    this.buttonText = '',
    this.onPressed,
    this.secondaryButtonText = '',
    this.onSecondaryPressed,
    this.errorModel});