Skip to content
pubscout

woozy_search

2.0.3, released 6 years ago by an unverified publisher

Lightweight client‑side fuzzy search using Levenshtein distance

WASM-ready
$ flutter pub add woozy_search
Source repository

What it does

Woozy provides a simple API to add entries and search them with fuzzy matching. It returns ranked results with optional associated values and limits. The library is null‑safe and works on all Flutter platforms.

AI-written summary of version 2.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need fast, in‑memory fuzzy search without external services
  • You want to associate arbitrary data with search terms
  • You need a small dependency footprint

Skip it when

  • You require server‑side search or advanced ranking algorithms
  • You need full text search with indexing or persistence

Strengths

  • Very small API, no build_runner or codegen
  • Supports associated values and result limits
  • Cross‑platform support (Android, iOS, web, desktop)

Weaknesses

  • Only Levenshtein distance, no other scoring methods
  • No persistence or indexing, performance degrades with very large datasets

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1
import 'package:woozy_search/woozy_search.dart';

void main() {
  final woozy = Woozy();
  woozy.addEntries(['basketball', 'badminton', 'skating']);
  final results = woozy.search('badmi');
  for (var r in results) {
    print('- ${r.text}: ${r.score}');
  }
}

Alternatives

Packages that do the same job and could replace woozy_search.

Works with

Packages commonly used together with woozy_search: ones it builds on, ones built on it, and its own family.