copy method
Implementation
Future<void> copy() async {
if (hasSelection) {
await Clipboard.setData(selection!.textInRange(_text));
}
}
Future<void> copy() async {
if (hasSelection) {
await Clipboard.setData(selection!.textInRange(_text));
}
}