CustomErrorState constructor
const
CustomErrorState({
- String? title = '',
- String? message = '',
- String? image = '',
- String? buttonText = '',
- VoidCallback? onPressed,
- String secondaryButtonText = '',
- VoidCallback? onSecondaryPressed,
- dynamic errorModel,
Implementation
const CustomErrorState(
{this.title = '',
this.message = '',
this.image = '',
this.buttonText = '',
this.onPressed,
this.secondaryButtonText = '',
this.onSecondaryPressed,
this.errorModel});