-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed
Labels
a: qualityA truly polished experienceA truly polished experiencec: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
Currently SelectableText.rich
can only support textspan
. We would like to be able to support different type of inlinespan eventually as Text.rich
did.
This might require some discussions on how should we deal with copying or pasting a widgetspan.
droplet-js, OsamaAbbas, daohoangson, zmtzawqlp, w940853815 and 67 morezmtzawqlp, HZRZCW, Vadaski, AxesandGrinds, saitbnzl and 2 morezmtzawqlp, HZRZCW, Vadaski, AlexV525, AxesandGrinds and 4 morers5173, asjqkkkk and Seiyial
Metadata
Metadata
Assignees
Labels
a: qualityA truly polished experienceA truly polished experiencec: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
zmtzawqlp commentedon Nov 10, 2019
_textPainter.getOffsetForCaret return Offset.zero for WidgetSpan. _textPainter.getBoxesForSelection is right for WidgetSpan, so I do a workaround for get caret position with selection boxs.
but at version is high than 1.7.8 , _textPainter.getBoxesForSelection is also breaking. selection function about WidgetSpan are all breaking for https://github.com/fluttercandies/extended_text and https://github.com/fluttercandies/extended_text_field.
i look forward that it will be fixed asap.
AlexV525 commentedon Dec 9, 2019
Is there any updates?
zmtzawqlp commentedon Dec 19, 2019
getPositionForOffset always return 0, after 1.7.8
AxesandGrinds commentedon Apr 22, 2020
It's 2020 April, any update on this?
chunhtai commentedon Apr 22, 2020
I would like to gather some feedbacks on what does it mean to
copy
andpaste
a widget span.If possible, please share your use cases that require widget span selection.
41 remaining items