Flutter SelectionArea get highlighted text

Viewed 45

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?

0 Answers
Related