Skip to content

[Selection] Reimplement SelectableText with SelectionArea #104547

@chunhtai

Description

@chunhtai

SelectableText is currently a read only EditableText which has several issues, such as the selection is bounded in a single selectable text, and it may be costly in terms of memory usage.

The idea is reimplement SelectableText with SelectionArea + text, but we should make sure they are feature on par before we do that.

several issue with SelectionArea:

#111370
#111021 (fixed)
#110594 (won't fix)
#104703 (fixed)
#104603 (fixed)
#104594
#126652 (fixed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: text inputEntering text in a text field or keyboard related problemsc: tech-debtTechnical debt, code quality, testing, etc.f: selectionSelectableRegion, SelectionArea, SelectionContainer, Selectable, and related APIsframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions