flutter_linkify icon indicating copy to clipboard operation
flutter_linkify copied to clipboard

Support for Link titles like in HTML Links

Open wiwimaster opened this issue 2 years ago • 3 comments

Hi,

If I understand flutter_linkify correctly, it can convert the text "https://some-nice-url" into a link, but the visible link text would also be "https://some-nice-url", correct?

Is it possible to support a deviating link title (think of "click here") through some kind of link prefix / suffix, or converting a classic HTML link like click here with flutter_linkify?

I believe there are many projects out there where inline-Links are coming from some sort of HTML source (like now for me).

Thanks for your help Jan

wiwimaster avatar Dec 22 '21 13:12 wiwimaster

We have the same need. Any update on this issue?

jean-morissette avatar Jan 26 '22 05:01 jean-morissette

Welp, for those looking for a quick solution, this is achievable with flutter_markdown package, which is an overkill but does the thing.

erayerdin avatar Mar 24 '22 08:03 erayerdin

I wrote now in about on hour this simple url parser for the widget RichText: https://gist.github.com/rekire/0b957f62a5d55cb72e4ff6a23bd287d4

I hope that will help others.

rekire avatar Mar 28 '22 20:03 rekire