HcAlert constructor
HcAlert({
- required BuildContext context,
- HcAlertType type = HcAlertType.none,
- HcAlertStyle style = const HcAlertStyle(),
- Image? image,
- String? title,
- String? desc,
- Widget? content,
- 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,
});