TatweerAlertDialog constructor

const TatweerAlertDialog({
  1. Key? key,
  2. String? title,
  3. required String message,
  4. String type = 'warning',
  5. IconData? icon,
  6. String? buttonText,
  7. VoidCallback? onButtonPressed,
  8. Widget? contentWidget,
})

Implementation

const TatweerAlertDialog({
  Key? key,
  this.title,
  required this.message,
  this.type = 'warning',
  this.icon,
  this.buttonText,
  this.onButtonPressed,
  this.contentWidget,
}) : super(key: key);