Hi, I'm trying Copy & Paste text in TextField in my android floating window. I tried many ways but still, it's not working, also I tried to copy text to the clipboard or get if from clipboard using :
import 'package:flutter/services.dart';Clipboard.setData(ClipboardData(text: "Text here to copy"));ClipboardData cdata = await Clipboard.getData(Clipboard.kTextPlain); String copiedtext = cdata.text; print(copiedtext);
This is a simple code example reproducing the issue: Github
Could you please help me make this functionality works in my floating window?
Hi, I'm trying Copy & Paste text in TextField in my android floating window. I tried many ways but still, it's not working, also I tried to copy text to the clipboard or get if from clipboard using :
import 'package:flutter/services.dart';
Clipboard.setData(ClipboardData(text: "Text here to copy"));
ClipboardData cdata = await Clipboard.getData(Clipboard.kTextPlain); String copiedtext = cdata.text; print(copiedtext);
This is a simple code example reproducing the issue: Github
Could you please help me make this functionality works in my floating window?