arabic_search 0.1.2 copy "arabic_search: ^0.1.2" to clipboard
arabic_search: ^0.1.2 copied to clipboard

Arabic-first text normalization and search utilities for Dart & Flutter.

arabic_search 🇪🇬🇸🇦 #

pub package

Arabic-first text normalization and search utilities for Dart & Flutter.
Designed to fix common Arabic search issues like different Alef forms (أ/إ/آ), diacritics (tashkeel), tatweel (ـ), Arabic digits (٠١٢), and more.

If your app supports Arabic search, filtering, or sorting — this package is for you.


✨ Features #

  • ✅ Remove Arabic diacritics (التشكيل)
  • ✅ Remove tatweel (ـ)
  • ✅ Normalize Alef variants: أ / إ / آ / ٱ → ا
  • ✅ Normalize Yeh: ى → ي
  • ✅ (Search mode) Normalize Teh Marbuta: ة → ه
  • ✅ Convert Arabic digits ↔ English digits (٠١٢ ↔ 012)
  • ✅ Generate robust search keys for accurate Arabic search
  • ✅ Lightweight, fast, and dependency-free (except meta)
  • ✅ Pure Dart (works with Flutter & backend Dart)

🧠 Core idea #

Arabic text can be written in many valid forms:

إسلام / اسلام
الإتصالات / الاتصالات
١٢٣ / 123
مُحَمَّد / محمد

This package normalizes all of these into a single consistent form
so search, filtering, and comparisons work correctly.


🚀 Getting started #

Add the package to your project:

dart pub add arabic_search
10
likes
150
points
78
downloads

Publisher

unverified uploader

Weekly Downloads

Arabic-first text normalization and search utilities for Dart & Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on arabic_search