1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] Is there a way to make hot text (links) wrap (within the link when needed)?

Discussão em 'Mobile' iniciado por Stack, Outubro 7, 2024 às 02:42.

  1. Stack

    Stack Membro Participativo

    I am implementing something like a breadcrumbs trail of hot (tap-able) text separated by separator characters and I want the whole thing to wrap as needed in the middle of the hot text if the need to wrap falls there. Because the crumbs are links, they have to be a collection of widgets, but displaying them in a Wrap object causes them to wrap on a per-widget basis and therefore never in the middle of the crumb links.

    screen shot of desired vs. actual behavior

    I tried to do this using Row, rows of Rows with the last one expanded, trying properties like softWrap on Text objects, "rich text," and more. I looked around for this use case, and posted to another forum. Seems like this should be possible in a mature app development framework.

    Continue reading...

Compartilhe esta Página