jonataslaw/readmore

[FEATURE] Wrapping widgets and not only strings

SalahAdDin opened this issue · 3 comments

Hello,

I used your package a lot to render text on my application, it gives up a very important feature: wrapping text in order to hide if it is too long.

Now, there is a new requirement: rendering markdown instead of simple text. For doing this I used this package; but it does not include a easy way to hide excesive text as this package does.

Do you think this package could have the capability to wrap widgets too?

Thank you.

I am also looking for the exact same thing..

I wish if the package supports that

FYI, check out PR #54, which has markdown capabilities. I can upgrade Annotation to allow WidgetSpan, but that would interfere with the line length calculation, as far as I know, since the engine won't recognize the size of WidgetSpan.

readmore_annotation.mp4