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

Clicking on a link calls both onTap and onOpen #94

Open ambrose-gladwell-sonocent opened 2 years ago

ambrose-gladwell-sonocent commented 2 years ago

The docs suggest that onTap is only called when clicking on selectable text and not links:

/// Called when the user taps on this selectable text (not link)
  final GestureTapCallback? onTap;

However, clicking a link calls both onOpen and onTap usually in that order.