pasteboard 0.0.3 copy "pasteboard: ^0.0.3" to clipboard
pasteboard: ^0.0.3 copied to clipboard

outdated

A flutter plugin which could read image,files from clipboard and write files to clipboard.

pasteboard #

Pub

A flutter plugin which could read image,files from clipboard and write files to clipboard.

Windows
Linux
macOS
iOS

Getting Started #

  1. add package:pasteboard to pubspec.yaml
    dependencies:
      pasteboard: ^latest
    
  2. example.
import 'package:pasteboard/pasteboard.dart';

Future<void> readAndWriteFiles() async {
  final paths = ['your_file_path'];
  await Pasteboard.writeFiles(paths);

  final files = await Pasteboard.files();
  print(files);
}

Future<void> readImages() async {
  final imageBytes = await Pasteboard.image;
  print(imageBytes?.length);
}

License #

See the LICENSE file for the full license.

84
likes
0
pub points
97%
popularity

Publisher

verified publishermixin.dev

A flutter plugin which could read image,files from clipboard and write files to clipboard.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on pasteboard