Package selection guidance compiled from public package information, community data, and project usage.
Fuzzywuzzy is a Dart implementation of the popular fuzzy string matching library, enabling accurate and flexible string comparison for tasks like search, deduplication, and data reconciliation. It calculates similarity scores between strings using algorithms such as Levenshtein distance and token-based methods, making it ideal for handling typos, variations, and near-matches. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, ensuring broad compatibility. It's lightweight and easy to integrate via Flutter pub.
Use cases
Text search with typos
Data deduplication
Name matching across datasets
Auto-suggestions with tolerance
Matching user input to database entries
Key features
Levenshtein distance scoring
Token sort and set ratios
Case-insensitive matching
Cross-platform support
Simple API integration
Suitable for
Developers needing robust string matching
Apps with user-generated text input
Data cleaning pipelines
Search features with error tolerance
Considerations
May be slower on large datasets
Not optimized for real-time high-frequency matching
Requires careful threshold tuning for accuracy
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
FuzzyWuzzy
This is a Dart port of the popular FuzzyWuzzy python package. This algorithm uses Levenshtein distance to calculate similarity between strings.
I personally needed to use this for my own search algorithms, and there weren't any packages as good as my experience with FuzzyWuzzy was, so here we are. Enjoy!