algoliasearch
1.59.0, released 3 days ago by algolia.com
Algolia search and insights API client for Dart and Flutter applications.
WASM-readyRock solid
What it does
Provides low-level API clients to interact with Algolia's search, insights, and indexing services. It enables features like instant search, typo tolerance, and user behavior event collection in Dart and Flutter apps.
AI-written summary of version 1.55.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to integrate Algolia search capabilities into a Dart or Flutter project
- You want to collect insights and user behavior events for search personalization
Skip it when
- You are not using Algolia as your search and discovery backend
- You only require a local search database without a cloud service
Strengths
- Cross-platform compatibility across mobile, web, and desktop
- Pure Dart construction for optimal performance
- Includes a lighter search-only client option
Weaknesses
- Tied exclusively to the Algolia service ecosystem
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 6
Add the dependency to your pubspec.yaml file and import it in your code.
import 'package:algoliasearch/algoliasearch.dart';
final client = SearchClient(
appId: 'YOUR_APP_ID',
apiKey: 'YOUR_API_KEY',
);Works with
Packages commonly used together with algoliasearch: ones it builds on, ones built on it, and its own family.
- json_annotationalgoliasearch depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- algolia_client_searchalgoliasearch depends on itAlgolia search API client for Dart and Flutter apps.
- algolia_helper_flutterBuilt on algoliasearchPatterns and APIs to implement advanced search features with Algolia for Flutter