AlertInfo constructor
AlertInfo({
- required String description,
- String? defaultText,
- VoidCallback? defaultCallback,
- bool isDestructive = false,
- String? cancelText = '',
- VoidCallback? cancelCallback,
- List<
ButtonConfig> itemList = const [],
Implementation
AlertInfo(
{required this.description,
this.defaultText,
this.defaultCallback,
this.isDestructive = false,
this.cancelText = '',
this.cancelCallback,
this.itemList = const []});