ChatDialogItem<T>.destructive constructor

ChatDialogItem<T>.destructive({
  1. String? label,
  2. required Future<T> onTap()?,
  3. TextStyle? style,
})

Implementation

ChatDialogItem.destructive({
  this.label,
  required this.onTap,
  this.style,
}) : type = ChatDialogItemType.destructive;