setClipboardData static method
设置剪贴板数据
text
复制到剪贴板的内容
Implementation
static void setClipboardData(String text) {
ClipboardData data = new ClipboardData(text: text);
Clipboard.setData(data);
}
设置剪贴板数据
text
复制到剪贴板的内容
static void setClipboardData(String text) {
ClipboardData data = new ClipboardData(text: text);
Clipboard.setData(data);
}