clipboardWrite property
Optional override for the platform clipboard write behind /provider export (gh-1606): copies text to the host clipboard; resolves to
null on success, the failure reason otherwise (the text itself never
surfaces). Tests inject a fake; production runs
writeClipboardText (pbcopy/xclip/wl-copy/clip).
Implementation
final Future<String?> Function(String text)? clipboardWrite;