link_text
0.2.1, released 3 years ago by an unverified publisher
Flutter text widget that automatically converts inlined URLs into clickable links.
What it does
The LinkText widget parses strings containing inlined URLs and renders them as clickable links. It allows custom styling and supports optional tap event handlers and URL parameter trimming.
AI-written summary of version 0.2.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display text containing URLs that users can tap to open.
- You want a drop-in replacement for the standard Text widget with automatic linkification.
Skip it when
- You need complex rich text formatting with multiple custom gesture recognizers other than links.
Strengths
- Zero setup required out of the box.
- Allows custom styling and overriding default link tap behavior.
- Supports trimming link parameters for better readability.
Weaknesses
- Limited to linkifying URLs rather than general rich text parsing (mentions, hashtags, etc.).
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
LinkText(
'Lorem ipsum https://flutter.dev',
textAlign: TextAlign.center,
)Alternatives
Packages that do the same job and could replace link_text.
- flutter_link_previewer
Customizable Flutter widget to fetch and render URL link previews.
91Compare - re_editor
A lightweight text and code editor widget for Flutter with syntax highlighting and folding.
80Compare - textf
Drop-in Text and TextEditingController replacements for inline Markdown-like text formatting
81Compare - smart_text_flutter
Detects and highlights links in text using platform native APIs.
69Compare
Works with
Packages commonly used together with link_text: ones it builds on, ones built on it, and its own family.