copyText static method
Implementation
static copyText(String text) {
Clipboard.setData(ClipboardData(text: text));
print("Copied text: $text");
}
static copyText(String text) {
Clipboard.setData(ClipboardData(text: text));
print("Copied text: $text");
}