flutter_html
flutter_html copied to clipboard
SelectableHtml and custom widgets
The issue on flutter which you have listed in the description regarding selectable html: https://github.com/flutter/flutter/issues/38474
Seems to be solved/completed.
I like to be able to select text from html which has customRenders. (only the text selection is enough, ignoring custom widgets)
In normal Html() customRenders takes Map<bool Function(RenderContext), CustomRender> of which I have used CustomRender.widget() function.
The SelectableHtml() takes Map<bool Function(RenderContext), SelectableCustomRender> limiting me from using my custom widgets. SelectableCustomRender doesn't have a widget() function.
How can I have a selectable html on text only while keeping my custom widgets?
Have the same issue, would be glad if this could be added!
Related #717, sorry for mistakenly referencing this issue above
Any updates on this?
Yes I recommend you check out #1137 .