flutter_linkify icon indicating copy to clipboard operation
flutter_linkify copied to clipboard

Detect links without https:// or www. Only detecting the top level domain (.com,.org,.etc)

Open josedavidrp opened this issue 4 years ago • 3 comments

Maybe there is a parameter that I couldn't find to allow this, but would be nice if there is a way to detect a link only by the .com,.org,.etc. Maybe a new parameter where you can make a list like ['com','org,'us','shop'] so if a word end in one of them like "github.com" convert it in a link.

josedavidrp avatar Aug 25 '21 10:08 josedavidrp

You can enable looseUrl by passing it in options

options: LinkifyOptions(looseUrl: true)

KrisPrajapati avatar Nov 10 '21 10:11 KrisPrajapati

Perhaps this should get added to the main Readme?

hunterwilhelm avatar Sep 07 '23 17:09 hunterwilhelm

It should definitely be added to the Readme, an important parameter

Mounix99 avatar Dec 13 '23 11:12 Mounix99