Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Flutter
  3. Parsed Text

Parsed Text

MITDart

A Flutter package to parse text and convert URLs, emails, phone numbers, and custom patterns into interactive, styled text widgets.

Visit WebsiteGitHubGitHub
220 stars69 forks0 contributors

What is Parsed Text?

Flutter Parsed Text is a Flutter package that parses plain text to automatically identify and style specific patterns like URLs, emails, phone numbers, and custom regex matches. It converts these patterns into interactive, clickable text widgets, enabling rich text interactions within Flutter applications. The package solves the problem of manually implementing text parsing and link detection, saving development time and ensuring consistency.

Target Audience

Flutter developers building applications that require interactive text elements, such as chat apps, social media feeds, or any UI where text needs to be linkified or respond to user taps.

Value Proposition

Developers choose Flutter Parsed Text for its simplicity in handling common text parsing tasks out-of-the-box, combined with the flexibility to define custom patterns and callbacks. Its seamless integration with Flutter's RichText widget and support for dual-value rendering (display vs. underlying value) make it uniquely powerful for complex text interaction scenarios.

Overview

A Flutter package to parse text and make them into linkified text widget

Use Cases

Best For

  • Adding clickable links and emails in chat or messaging applications
  • Creating interactive text with custom patterns like hashtags or user mentions
  • Building social media feeds with styled and tappable text elements
  • Implementing phone number detection with call-to-action functionality
  • Parsing and styling text based on complex regex patterns in Flutter UIs
  • Displaying user-friendly text while handling underlying data values (e.g., usernames vs. user IDs)

Not Ideal For

  • Projects requiring full Markdown or HTML rendering with complex formatting
  • Teams needing out-of-the-box, visually rich text components with animations or advanced gestures
  • Applications where text parsing must be server-side for performance or security reasons
  • Use cases demanding extensive built-in accessibility features beyond basic tap handlers

Pros & Cons

Pros

Predefined Pattern Detection

Automatically detects and styles URLs, emails, and phone numbers using built-in parsers like ParsedType.EMAIL, saving time for common use cases as shown in the example code.

Custom Regex Flexibility

Supports any pattern via regular expressions, allowing for hashtags or user mentions, with options to configure regex settings like case sensitivity, detailed in the MatchText examples.

Interactive Callbacks

Enables onTap handlers for parsed text segments, facilitating actions like launching URLs or handling custom interactions, demonstrated in the callback functions throughout the README.

Dual-Value Rendering

Allows displaying one text (e.g., a username) while passing a different value (e.g., a user ID) to callbacks using renderText, ideal for complex data handling as illustrated in the dual-value example.

Cons

Manual Regex Implementation

Requires developers to write and debug custom regex patterns and renderText functions for advanced use cases, which can be error-prone and time-consuming, as seen in the complex example.

Limited Advanced Features

Lacks built-in support for features like long-press gestures, nested parsing, or accessibility enhancements, focusing only on basic tap interactions and styling.

Sparse Documentation

The README provides minimal examples and links to API details without comprehensive guides or best practices, making it harder for newcomers to troubleshoot edge cases.

Frequently Asked Questions

Quick Stats

Stars220
Forks69
Contributors0
Open Issues16
Last commit4 months ago
CreatedSince 2019

Tags

#interactive-text#regex#ui-components#mobile-development#flutter#text-parsing#rich-text

Built With

F
Flutter
D
Dart

Links & Resources

Website

Included in

Flutter59.5k
Auto-fetched 1 day ago

Related Projects

AutoSizeTextAutoSizeText

Flutter widget that automatically resizes text to fit perfectly within its bounds.

Stars2,137
Forks262
Last commit2 years ago
FleatherFleather

Soft and gentle rich text editing for Flutter applications.

Stars304
Forks68
Last commit6 days ago
TeXTeX

A Flutter Package to render Mathematics, Physics and Chemistry Equations based on LaTeX

Stars303
Forks147
Last commit9 days ago
Masked TextMasked Text

A masked text for Flutter.

Stars275
Forks130
Last commit3 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub