super_clipboard
0.9.1, released a year ago by nativeshell.dev
Comprehensive clipboard access package supporting rich text, images, and custom data formats.
What it does
Provides low-level and platform-agnostic clipboard reading and writing capabilities for Flutter applications. Supports standard formats like plain text, HTML, and images across Android, iOS, Web, Windows, macOS, and Linux.
AI-written summary of version 0.9.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to read or write rich text, HTML, or images to the system clipboard.
- You want cross-platform clipboard support including desktop and web.
- You need to provide alternative representations of data on demand.
Skip it when
- You only need basic string-only clipboard operations already covered by standard Flutter or lighter plugins.
- You want to avoid native Rust dependencies or automated toolchain downloads during build.
Strengths
- Supports rich media formats like images and HTML out of the box.
- Works across a wide range of platforms including desktop and web.
- Supports custom data formats and lazy/on-demand data providing.
Weaknesses
- Uses Rust internally, which increases build setup complexity and first-build times.
- Requires NDK configuration and custom provider definitions on Android for certain features.
- Plugin is in early stages of development and experimental.
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 3
Requires Rust toolchain (or automatically downloads precompiled binaries/rustup). Android requires setting minSdkVersion to at least 23 and adding a content provider in AndroidManifest.xml for writing images and custom data.
final clipboard = SystemClipboard.instance;
if (clipboard != null) {
final reader = await clipboard.read();
if (reader.canProvide(Formats.plainText)) {
final text = await reader.readValue(Formats.plainText);
}
}Alternatives
Packages that do the same job and could replace super_clipboard.
- jni_flutter
Access Flutter Android APIs from Dart.
87Compare - super_keyboard
A plugin that reports software keyboard visibility and size on Android and iOS.
80Compare - shizuku_api
Flutter plugin to run shell commands via Shizuku without root
69Compare - quill_native_bridge
An internal plugin for flutter_quill to access platform-specific clipboard and gallery APIs
70Compare
Works with
Packages commonly used together with super_clipboard: ones it builds on, ones built on it, and its own family.
- super_native_extensionssuper_clipboard depends on itLow level interface for native APIs such as clipboard and Drag and Drop
- super_context_menuSame familyContext menu widget supporting native menus on platforms and drag & drop transitions on mobile.
- super_keyboard_layoutSame familyKeyboard layout mapping and layout change notifications for Flutter applications.
- super_hot_keySame familyRegister global system-wide hot keys on macOS and Windows.
- super_drag_and_dropBuilt on super_clipboardNative drag and drop for Flutter across desktop, mobile and web.
- syntax_highlightBuilt on super_clipboardVSCode-style syntax highlighting and code editing widgets for Flutter.