CustomAlertDialog constructor
const
CustomAlertDialog({
- Key? key,
- required String title,
- required String content,
- Widget? icon,
- CustomAlertDialogType type = CustomAlertDialogType.info,
- String buttonLabel = "Ok",
- VoidCallback? onClick,
- TextStyle? titleStyle,
- TextStyle? contentStyle,
Implementation
const CustomAlertDialog({
Key? key,
required this.title,
required this.content,
this.icon,
this.type = CustomAlertDialogType.info,
this.buttonLabel = "Ok",
this.onClick,
this.titleStyle,
this.contentStyle,
}) : super(key: key);