win32_clipboard library

A Dart library that provides a friendly Dart API for accessing the Windows Clipboard.

It allows you to perform common clipboard operations, including:

  • Copying data to the clipboard
  • Pasting data from the clipboard
  • Checking the available data formats on the clipboard
  • Clearing the clipboard
  • Listening for changes in clipboard data

The Clipboard class provides static methods for interacting with the clipboard, allowing you to easily manage text, file lists, and custom clipboard formats. It also offers streams to listen for changes in specific types of data.

Classes

Clipboard
Provides a set of methods and properties for interacting with the Windows Clipboard.
ClipboardChangeEvent
Event emitted when a change in the clipboard is detected.
ClipboardChangeMonitor
Watches the clipboard and produces a stream of change notifications.
ClipboardData
Base class for all clipboard data types.
ClipboardFormat
Represents a data format in the Windows Clipboard.
FileListData
File list data (CF_HDROP).
PointerData
Pointer data for custom formats.
UnicodeTextData
Unicode text data (CF_UNICODETEXT).
Win32Window

Exceptions / Errors

ClipboardException
Exception thrown to signal errors that occur while performing clipboard operations.