flutter_search
Search Flutter and Dart SDK class, enum, mixin, and typedef names to find the right identifier before fetching docs. Ranks exact, prefix, substring, and fuzzy matches from a local index.
Instructions
Search Flutter and Dart SDK class names (plus enums/mixins/typedefs).
Ranks the local search index by name similarity (exact > prefix > substring
fuzzy). Use this to find the right identifier before calling flutter_docs.
Args: query: text to match against class names, e.g. "text field" or "ListView". limit: maximum number of results (default 8).
Returns {"query", "count", "results": [{name, library, kind, url, score}], "index_stale"} or {"error", "suggestion"} when the index is unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |