toClipboard property

Future<void> get toClipboard

复制到粘贴板

Implementation

Future<void> get toClipboard async =>
    await Clipboard.setData(ClipboardData(text: toString()));