clipboard
3.0.14, released 10 months ago by samuelezedi.com
Clipboard manager with text, HTML, and image support across Android, iOS, Web, and Windows.
What it does
Provides APIs to copy and paste text, rich text (HTML), and PNG images. It also offers clipboard monitoring, utility methods, and robust error handling.
AI-written summary of version 3.0.14, based on the package's README and metadata. Report an inaccuracy
Use it when
- Need to copy or paste rich text or images in a Flutter app
- Require real‑time clipboard change detection
- Want a single package that works on mobile, web, and desktop
Skip it when
- Only basic text clipboard is required
- You already use a platform‑specific clipboard solution
Strengths
- Multi‑format support (text, HTML, image)
- Native monitoring with platform APIs
- Comprehensive error handling and callbacks
- Cross‑platform (Android, iOS, Web, Windows)
Weaknesses
- No support for file paths or custom binary formats beyond image
- Requires platform channel registration (though automatic)
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
import 'package:clipboard/clipboard.dart';
await FlutterClipboard.copy('Hello');
String text = await FlutterClipboard.paste();Alternatives
Packages that do the same job and could replace clipboard.
- attributed_text
Text with metadata spans for easy text editing and styling.
72Compare - parchment
Platform-agnostic rich text document model based on Delta format.
69Compare - dart_quill_delta
Dart port of Quill Delta JSON format for rich-text documents
50Compare - parchment_delta
Dart implementation of Quill Delta format for rich-text editing
47Compare
Works with
Packages commonly used together with clipboard: ones it builds on, ones built on it, and its own family.