ChatDialogItem<T>.confirm constructor

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

Implementation

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