AlertInfo constructor

AlertInfo({
  1. required String description,
  2. String? defaultText,
  3. VoidCallback? defaultCallback,
  4. bool isDestructive = false,
  5. String? cancelText = '',
  6. VoidCallback? cancelCallback,
  7. List<ButtonConfig> itemList = const [],
})

Implementation

AlertInfo(
    {required this.description,
    this.defaultText,
    this.defaultCallback,
    this.isDestructive = false,
    this.cancelText = '',
    this.cancelCallback,
    this.itemList = const []});