Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy and Paste not working in TextFormField & TextField #13

Open
nickolaylo opened this issue Apr 24, 2022 · 1 comment
Open

Copy and Paste not working in TextFormField & TextField #13

nickolaylo opened this issue Apr 24, 2022 · 1 comment

Comments

@nickolaylo
Copy link

nickolaylo commented Apr 24, 2022

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?

@qiuxiang
Copy link
Owner

This may be a limitation of android service. I don't know how to solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants