Skip to content
pubscout

dart_quill_delta

10.8.3, released 2 years ago by freshplatform.net

Dart port of Quill Delta JSON format for rich-text documents

WASM-ready
$ flutter pub add dart_quill_delta
Source repository

What it does

Provides a Dart implementation of the Quill Delta format, enabling creation, manipulation, and diffing of rich-text documents in JSON.

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

Use it when

  • You need to serialize or deserialize Quill Delta documents in a Dart/Flutter app
  • You want to compute diffs between two Delta objects
  • You are building a rich-text editor that uses the Quill Delta format

Skip it when

  • You only need a simple text editor without Delta support
  • You are working exclusively with Flutter widgets that already handle rich text

Strengths

  • Stable API with diff support
  • Compatible with Flutter Quill ecosystem
  • No build_runner or codegen required

Weaknesses

  • No UI components
  • Limited documentation beyond basic usage

Setup

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

final delta = Delta()
  ..insert('Hello ')
  ..insert('world', {'bold': true})
  ..insert('\n');

final json = delta.toJson();
print(json);

Alternatives

Packages that do the same job and could replace dart_quill_delta.

  • parchment_delta

    Dart implementation of Quill Delta format for rich-text editing

  • parchment

    Platform-agnostic rich text document model based on Delta format.

  • json_schema

    Validate JSON data against JSON Schema drafts in Dart.

  • cv

    Helpers to convert Dart objects to/from Map and JSON without code generation.

Works with

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