instance property
SystemClipboard?
get
instance
Returns the shared clipboard instance if available on the current platform. Clipboard API is available on all platforms except Firefox, where it is disabled by default. If clipboard is not available, you can still use the ClipboardEvents API.
Implementation
static SystemClipboard? get instance {
if (!raw.ClipboardReader.instance.available) {
return null;
}
return _instance;
}