dart_clipboard 0.1.0 copy "dart_clipboard: ^0.1.0" to clipboard
dart_clipboard: ^0.1.0 copied to clipboard

outdated

A Dart package to operate the clipboard using Rust FFI.

example/example.dart

// Copyright (c) 2021 ippee
// This source code is under the MIT License.
// See http://opensource.org/licenses/mit-license.php

import 'package:dart_clipboard/dart_clipboard.dart';

void main() {
  var clipboard = Clipboard();

  var contents;

  // Get contents of the clipboard.
  contents = clipboard.getContents();

  // Set contents to the clipboard.
  contents = "All the world's a stage";
  clipboard.setContents(contents);
}
4
likes
0
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package to operate the clipboard using Rust FFI.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, test

More

Packages that depend on dart_clipboard