Scrollable position of a TextSpan within a RichText

你离开我真会死。 提交于 2021-02-19 06:05:00

问题


I have many TextSpans in my RichText. I would like to scroll in a specific TextSpan, but for knowing the position I need the context. TextSpan is not a widget. So how can I get the TextSpan's position?

I can't use WidgetSpan because my Spans are pieces of the same sentence.

Thanks

来源:https://stackoverflow.com/questions/57907410/scrollable-position-of-a-textspan-within-a-richtext

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!