You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]How to add custom overflow string in 'Text' or 'TextSpan' ?[/-][+]How to add custom overflow string in `Text` or `TextSpan`?[/+]on Jan 7, 2020
Using the extended_text package seems overkill to me, we only need to be able to simply replace a string by another.
If there was a way to override _kEllipsis that would be great, for example by adding an overflowText parameter to the widgets's constructors that use TextOverflow.ellipsis.
We could resolve this with a ignoreOverflow property on a TextSpan. That way we can add a text span after the ... ellipsis in any color and with a gesture recognizer.
This issue is assigned but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!
This issue was assigned to @campovski but has had no status updates in a long time. To remove any ambiguity about whether the issue is being worked on, the assignee was removed.
Activity
[-]text wrap[/-][+]How to add custom overflow string in 'Text' or 'TextSpan' ?[/+]zoechi commentedon Jan 18, 2019
Text
usesRichText
andRichText
usesRenderParagraph
which also doesn't take a custom valueflutter/packages/flutter/lib/src/rendering/paragraph.dart
Line 64 in d927c93
uses
_kEllipsis
You would need to create a custom clone of
RenderParagraph
.zmtzawqlp commentedon Feb 25, 2019
for more, it better to provide the way to custom the ellipsis style, and the ellipsis like "...read more" should be to be tapped.
zmtzawqlp commentedon Mar 15, 2019
@Mericusta hi guy, there is a workaround for this issue , see does it help for you.
OHeroJ commentedon Apr 15, 2019
the same issue to me? have some good way?
zmtzawqlp commentedon Apr 15, 2019
@OHeroJ https://github.com/fluttercandies/extended_text
[-]How to add custom overflow string in 'Text' or 'TextSpan' ?[/-][+]How to add custom overflow string in `Text` or `TextSpan`?[/+]rayliverified commentedon Feb 5, 2020
This feature would be really nice to have. I would like to customize the ellipsis to "...continue reading".
mr-mmmmore commentedon Feb 28, 2020
Using the
extended_text
package seems overkill to me, we only need to be able to simply replace a string by another.If there was a way to override _kEllipsis that would be great, for example by adding an
overflowText
parameter to the widgets's constructors that useTextOverflow.ellipsis
.lukepighetti commentedon Mar 4, 2020
We could resolve this with a
ignoreOverflow
property on a TextSpan. That way we can add a text span after the...
ellipsis in any color and with a gesture recognizer.zmtzawqlp commentedon Jul 1, 2020
https://github.com/fluttercandies/extended_text ,support Widget as TextOverflow now.

11 remaining items
campovski commentedon Nov 2, 2022
I would like to work on this and provide option to add custom widget instead of just text.
pedromassango commentedon Nov 3, 2022
Thanks @campovski. Feel free to open a PR and link it to this issue.
jagged3dge commentedon Apr 18, 2023
@campovski Glad to see someone's on it. It's now Apr 2023. Any progress so far?
flutter-triage-bot commentedon Jul 8, 2023
This issue is assigned but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!
flutter-triage-bot commentedon Aug 1, 2023
This issue was assigned to @campovski but has had no status updates in a long time. To remove any ambiguity about whether the issue is being worked on, the assignee was removed.
seanhamstra commentedon Aug 29, 2023
Would love this feature as well!