Search packages, repositories and app categories

smart_text_flutter cover
Package detailsv0.4.0

smart_text_flutter

A Flutter plugin used to detect links in texts using NSDataDetector on iOS and TextClassifier on Android

AndroidiOS
30-day downloads
916
Likes
102
Pub points
160

Install package

flutter pub add smart_text_flutter

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

SmartTextFlutter is a Flutter plugin that automatically detects and identifies links within text strings using platform-specific APIs—NSDataDetector on iOS and TextClassifier on Android. It enables developers to enhance text rendering by making URLs, phone numbers, and other actionable content clickable without manual parsing. The package simplifies integration with native text detection capabilities, ensuring accurate and efficient link recognition across platforms. Ideal for chat apps, news readers, and any app requiring intelligent text processing.

Use cases

  • Detecting clickable links in user-generated content
  • Enhancing message threads with auto-linking
  • Parsing contact information from text
  • Improving readability in rich text displays
  • Automatically identifying URLs in social media posts

Key features

  • Uses native text detection APIs on iOS and Android
  • Supports automatic linking of URLs and phone numbers
  • Minimal setup with straightforward API
  • Cross-platform consistency
  • Lightweight and efficient

Suitable for

  • Chat and messaging applications
  • Content display widgets
  • Social media integrations
  • User input processing
  • Apps needing smart text handling

Considerations

  • Limited to link and contact detection
  • Requires platform-specific permissions for some features
  • May need additional styling for custom link appearance
  • Depends on native SDK versions
  • Not suitable for complex text pattern matching

Categories

Dependencies

Dependency list 3 items

  • plugin_platform_interface^2.0.2
  • url_launcher^6.3.1
  • url_launcher_ios^6.3.2

Projects using this package

No data available yet.