clipboardStatus property
final
Detects whether the clipboard can paste.
Implementation
final ClipboardStatusNotifier clipboardStatus = kIsWeb
// Web browsers will show a permission dialog when Clipboard.hasStrings is
// called. In an EditableText, this will happen before the paste button is
// clicked, often before the context menu is even shown. To avoid this
// poor user experience, always show the paste button on web.
? _WebClipboardStatusNotifier()
: ClipboardStatusNotifier();