linked_text 1.1.2
linked_text: ^1.1.2 copied to clipboard
A Flutter widget that renders text with interpolated tappable links using a simple template syntax.
Changelog #
1.1.2 #
- Prevent an out-of-bounds URL index in a string template from causing a crash. If an index is out of bounds, the link will simply be non-interactive.
1.1.1 #
- Updated the minimum Dart SDK constraint to 3.6.0.
- Fixed compatibility with Flutter's
gen_l10n: a build hook automatically addsrelax-syntax: truetol10n.yamlwhen missing. If the first build fails, re-running it will succeed.
1.0.0 #
- Initial release.
LinkedTextwidget for rendering text with interpolated tappable links.- Template syntax:
{{link text}}for auto-indexed links,{N{link text}}for explicitly indexed links. - Optional
onTapcallback for custom link handling. - Default URL launching via
url_launcher. - Proper
TapGestureRecognizerlifecycle management.