UiErrorPage constructor

const UiErrorPage({
  1. Key? key,
  2. required String message,
  3. String? title,
  4. String? buttonText,
  5. VoidCallback? onButtonPressed,
  6. IconData icon = Icons.error_outline,
})

Implementation

const UiErrorPage({
  super.key,
  required this.message,
  this.title,
  this.buttonText,
  this.onButtonPressed,
  this.icon = Icons.error_outline,
});