Callback, called when a copy action of this ChatItem is triggered.
final void Function(String text)? onCopy;