Open krzysztof-swi opened 1 year ago
not support right to left language due to TextPainter is not support
I'm not sure we understood each other. The desired effect is shown on the screen:
I was able to obtain it with small changes in TextOverflowMixin Please find below a pull request: https://github.com/fluttercandies/extended_text/pull/139
i means TextPainter is not support RTL to get position. it's not just to put it to bottom left but it need to compute position to avoid cut off words or WidgetSpan.
I understand. Maybe it would be worth creating an issue to Flutter to handle this situation?
it already has https://github.com/flutter/flutter/issues/111381
Hi, When using language like arabic, text is read from right to left. So the end of the text is in bottom left corner. Currently overflow widget displays incorrectly - in bottom right corner, as visible on the screenshot.
Attached below is a code snippet for this example:
If I use overflow: TextOverflow.ellipsis, instead of overflowWidget it displays correctly - on the left end of the text.