Skip to content
pubscout

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.

WASM-ready
$ flutter pub add clipboard
Source repository

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.

Works with

Packages commonly used together with clipboard: ones it builds on, ones built on it, and its own family.