Issue
This Content is from Stack Overflow. Question asked by alex smith
With the Flutter 3.3, now we have SelectionArea()
which works great and I can select multiple text inside multiple widgets.
However I have my own “right-click” menu which I need to disable when there are highlighted texts.
How do I detect if any text is highlighted by SelectionArea()
or even better, have some sort of text controller to get the highlighted text?
Solution
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.
This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.