Skip to content
pubscout

meilisearch

0.19.0, released 8 months ago by meilisearch.com

Meilisearch API client for Dart and Flutter developers

WASM-ready
$ flutter pub add meilisearch
Source repository

What it does

Provides a Dart client to interact with the Meilisearch search engine, allowing you to add documents, perform typo-tolerant searches, manage indexes, and configure search parameters.

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

Use it when

  • You need to integrate Meilisearch search functionality into your Dart or Flutter application.
  • You want fast, typo-tolerant search capabilities backed by a Meilisearch instance.

Skip it when

  • You are using a different backend search provider like Algolia or Elasticsearch.
  • You require an entirely on-device embedded search engine without an external server.

Strengths

  • Typo-tolerant search out of the box
  • Easy document management and indexing
  • Supports customizable dio instances for network requests

Weaknesses

  • Requires a running Meilisearch server or Meilisearch Cloud instance

Setup

Kind
Pure Dart
Effort
Low
Code generation
Yes (build_runner)
Direct dependencies
5

Requires initializing the MeiliSearchClient with a server URL and master key.

var client = MeiliSearchClient('http://127.0.0.1:7700', 'masterKey');
var index = client.index('movies');
var result = await index.search('carlo');
print(result.hits);

Alternatives

Packages that do the same job and could replace meilisearch.

Works with

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