flutter_native_data_detector 0.0.1 copy "flutter_native_data_detector: ^0.0.1" to clipboard
flutter_native_data_detector: ^0.0.1 copied to clipboard

Cross-platform text data detection using NSDataDetector on iOS and ML Kit Entity Extraction on Android. Detects phone numbers, URLs, emails, addresses, and dates.

0.0.1 #

Initial release — a Flutter port of react-native-data-detector.

  • NativeDataDetector.detect / prepareModel / getModelStatus / isModelReady backed by NSDataDetector (iOS) and ML Kit Entity Extraction (Android).
  • Detects phone numbers, links, emails, addresses, and dates with structured data payloads and UTF-16 start/end offsets.
  • DataDetectorController — imperative detection with model lifecycle tracking.
  • DetectedEntitiesController — reactive, debounced as-you-type detection.
  • DataDetectorTextEditingController — inline entity highlighting in editable text fields, with consumer-controlled appearance styling (entityStyleBuilder receives the appearance progress t).
  • EntityRichText + EntityPill — built-in glowing-pill style for read-only surfaces; restylable per instance or replaceable via entityBuilder.
  • 15 selectable ML Kit language models on Android.
0
likes
150
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Cross-platform text data detection using NSDataDetector on iOS and ML Kit Entity Extraction on Android. Detects phone numbers, URLs, emails, addresses, and dates.

Repository (GitHub)
View/report issues

Topics

#text #data-detector #entity-extraction #nlp #mlkit

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_native_data_detector

Packages that implement flutter_native_data_detector