# pasteboard **Repository Path**: ljprc/pasteboard ## Basic Information - **Project Name**: pasteboard - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-03-11 - **Last Updated**: 2026-03-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pasteboard [![Pub](https://img.shields.io/pub/v/pasteboard.svg)](https://pub.dev/packages/pasteboard) A Flutter plugin that allows reading images and files from the clipboard and writing files to the clipboard. | Platform | Supported | Requires Setup | |----------|---------- |--------------- | | Windows | ✅ | No | | Linux | ✅ | No | | macOS | ✅ | No | | iOS | ✅ | No | | Web | ✅ | No | | Android | ✅ | Yes | ## Getting Started 1. Add `package:pasteboard` to `pubspec.yaml`: ```yaml dependencies: pasteboard: ^latest ``` 2. example ```dart import 'package:pasteboard/pasteboard.dart'; Future readAndWriteFiles() async { final paths = ['your_file_path']; await Pasteboard.writeFiles(paths); final files = await Pasteboard.files(); print(files); } Future readImages() async { final imageBytes = await Pasteboard.image; print(imageBytes?.length); } ``` ## Android Setup To use this package on Android without errors, follow these steps: 1. Add the following `` entry inside the `` tag in your AndroidManifest.xml (`android/app/src/main/AndroidManifest.xml`): ```xml ``` 2. Create the file `provider_paths.xml` at `android/app/src/main/res/xml/provider_paths.xml` with the following content: ```xml ``` ### Common Issues If these steps are not followed, you may encounter the following runtime error: ``` Couldn't find meta-data for provider with authority ``` Make sure the `` entry is correctly added to the `AndroidManifest.xml` and that the `provider_paths.xml` file exists in the correct location. ## License See the [LICENSE](LICENSE) file for the full license.