Override for copy behavior. When omitted the view writes to the clipboard directly.
final Future<void> Function(String text)? onCopySelection;