Description
flutter_parsed_text is a Flutter package that finds parts of a string, such as URLs, phone numbers and email addresses, and turns them into tappable linked text. You give the ParsedText widget a text value, a style for the normal text, and a list of match rules. Each rule can use a predefined type or a custom pattern, and custom patterns can carry regex options. The package can also show a different label from the value it passes to the tap callback, which is useful for mentions where the display text is a username but the callback needs the user ID. The widget accepts all the usual RichText parameters. The package has an example app in its repository. The README asks users to open an issue for feature requests or bugs, and it is released under the MIT licence.…
Highlights
- Detects URLs, phone numbers and emails
- Custom regex patterns with options
- Different display text and callback value
- Accepts the usual RichText parameters
- Example app included
Ratings & Reviews
No ratings yet
Be the first to rate Parsed Text.
People also visit
Parsed Text FAQ
What is flutter_parsed_text?
A Flutter package that parses text and turns URLs, phone numbers, emails and custom patterns into tappable parts.
How do I install it?
Add flutter_parsed_text as a dependency in your pubspec.yaml file, as the README shows.
Can I match my own patterns?
Yes. You can define a custom pattern as an array of match rules, and set regex options for it.
Can the displayed text differ from the callback value?
Yes. The README shows a mention example where the display text is a username and the callback receives the user ID.
What license is it under?
MIT.
What are the best Parsed Text alternatives?
Popular alternatives to Parsed Text include @flyerhq/react-native-link-preview, @hixme-ui/text and plate. See all Parsed Text alternatives












