Cretezy / flutter_linkify

Turns text URLs and emails into clickable inline links in text for Flutter
https://pub.dartlang.org/packages/flutter_linkify
MIT License
262 stars 99 forks source link

Max Lines and Overflow Property do not work with Links itself #109

Open Ayushrestha05 opened 1 year ago

Ayushrestha05 commented 1 year ago

Screenshot_20220725-122251__01 Mutiple Lines in the Link is causing the widget to expand. MaxLines and Overflow works on normal text but not on Links.

Linkify(
  maxLines: 1,
  overflow: TextOverflow.ellipsis,
  text: networkPostData?.request?.link ??
      parsedLinkModel?.data?.url ??
      "",
  style: GoogleFonts.sarala(
    color: Colors.black,
  ),
  onOpen: (url) {
    launch(url.url);
  },
)
romandrahan commented 1 year ago

+1

xingshou commented 1 year ago

+1