HcAlert constructor

HcAlert({
  1. required BuildContext context,
  2. HcAlertType type = HcAlertType.none,
  3. HcAlertStyle style = const HcAlertStyle(),
  4. Image? image,
  5. String? title,
  6. String? desc,
  7. Widget? content,
  8. List<HcDialogButton>? buttons,
})

context, title are required.

Implementation

HcAlert({
  required this.context,
  this.type = HcAlertType.none,
  this.style = const HcAlertStyle(),
  this.image,
  this.title,
  this.desc,
  this.content,
  this.buttons,
});