clipboad_image 0.0.1+1 copy "clipboad_image: ^0.0.1+1" to clipboard
clipboad_image: ^0.0.1+1 copied to clipboard

A Flutter plugin to get image from clipboard.

ClipboadImage #

A Flutter plugin to copy and retrieve images from the clipboard.

Features #

  • Retrieve an image from the clipboard

Demo #

  • IOS

Clipboard Image IOS Demo

  • Android

Clipboard Image Android Demo

Installation #

Add clipboad_image to your pubspec.yaml:

dependencies:
  clipboad_image:
    path: clipboad_image

Run:

flutter pub get

Usage #

Import the package #

import 'package:clipboad_image/clipboad_image.dart';

Get an image from the clipboard #

Use await ClipboadImage.getImage() to retrieve an image. If the result is null, the clipboard does not contain an image.

Uint8List? imageData = await ClipboadImage.getImage();
if (imageData != null) {
  print("Image retrieved from clipboard!");
} else {
  print("No image found in clipboard.");
}

Platform Support #

Platform Support
Android ✅ Yes
iOS ✅ Yes

License #

This project is licensed under the MIT License - see the LICENSE file for details.

5
likes
150
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to get image from clipboard.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on clipboad_image

Packages that implement clipboad_image