ErrorDialog constructor

const ErrorDialog({
  1. Key? key,
  2. required String title,
  3. required String description,
  4. Widget? icon,
  5. String? buttonText,
  6. dynamic onButtonPressed(
    1. BuildContext
    )?,
  7. bool dismissible = true,
  8. double? maxIconHeight,
})

Implementation

const ErrorDialog(
   {Key? key, required this.title, required this.description, this.icon, this.buttonText, this.onButtonPressed, this.dismissible = true, this.maxIconHeight}) : super(key: key);