Skip to content
pubscout

isar_plus

1.3.9, released 4 months ago by ahmetaydin.dev

An enhanced fully async NoSQL database for Flutter and Dart applications.

WASM-ready
$ flutter pub add isar_plus
Source repository

What it does

Isar Plus is an enhanced fork of the original Isar NoSQL database providing high-speed storage, composite and multi-entry indexes, query modifiers, and JSON support. It features cross-platform capabilities including Android, iOS, web, Windows, macOS, and Linux with persistent web storage via IndexedDB.

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

Use it when

  • You need a fast, fully async NoSQL database for Flutter supporting multiple platforms including the web.
  • Your application requires complex queries, composite indexes, and multi-isolate support.
  • You want real-time inspection of database instances and collections using the Isar Inspector.

Skip it when

  • Your project relies on standard relational SQL features without needing a NoSQL approach.
  • You want to avoid code generation steps in your build pipeline.

Strengths

  • Extremely fast performance and high scalability.
  • Fully asynchronous with parallel query operations and multi-isolate support.
  • Persistent web storage through IndexedDB integration for Flutter Web.

Weaknesses

  • Requires code generation to build data models.
  • Unit tests require explicit initialization and single-threaded execution (`flutter test -j 1`).

Setup

Kind
FFI (native library)
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
8

Requires running build_runner for code generation and initializing Isar Core for native platforms or tests using `await Isar.initializeIsarCore(download: true)`.

Future<void> main() async {
  final dir = await getApplicationDocumentsDirectory();
  final isar = await Isar.open(
    [UserSchema],
    directory: dir.path,
  );
}

Alternatives

Packages that do the same job and could replace isar_plus.

  • drift

    If you prefer a robust, reactive SQL database for Flutter with type-safe queries.

  • sqflite

    If you need a traditional, lightweight SQLite database interface for mobile platforms.

  • hive

    If you want a lightweight key-value NoSQL database without complex indexing requirements.

Works with

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