Skip to content

SelectableHtml and custom widgets #1105

Closed
@asmith20002

Description

@asmith20002

The issue on flutter which you have listed in the description regarding selectable html:
flutter/flutter#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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions