1

When i try to paste text inside a Textfield in my Windows Flutter Desktop project an unsupported symbol is shown:

enter image description here

I found this issue on github about MacOS but i wasn't able to find a similar issue about Windows.

Is there any workaround i can use?

Ansharja
  • 1,237
  • 1
  • 14
  • 37

1 Answers1

0

As a temporary workaround you could add your own key handler for that text field and implement paste using Clipboard.

smorgan
  • 20,228
  • 3
  • 47
  • 55
  • Thanks for your answer. I tried it and `Clipboard` is returning data. Now i opened [a new issue](https://stackoverflow.com/questions/60682045/rawkeyevent-wrong-characters-in-windows10-flutter-desktop) because using `RawKeyboardListener` I'm getting wrong characters, so i could not use CTRL + V as event to read from `Clipboard` (i could use a button but that would be nasty) – Ansharja Mar 14 '20 at 11:12
  • Sorry, I didn't realize key events had regressed on Windows when suggesting using your own handler. – smorgan Mar 29 '20 at 15:22