copy static method

Future<void> copy(
  1. String text
)

Implementation

static Future<void> copy(String text) {
  return Clipboard.setData(ClipboardData(text: text));
}