flutter selectable text anchor position in rtl languages

32 Views Asked by At

In flutter when I try using SelectableText widget with rtl languages, anchors behave wrong.

enter image description here

It's really unpredictable. you grab one of the anchors but the other one moves...

I tested this on both a real device and emulators.
I didn't manage to find anything about this on internet. How can I fix this?

1

There are 1 best solutions below

0
Pourya Pourbagheri On BEST ANSWER

In my case, wrapping a Text widget with SelectionArea widget worked...
It was a painful journey to find this. Hope it helps others.