ChatDialogItem<T>.cancel constructor

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

Implementation

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