Skip to content
pubscout

parchment_delta

1.0.0, released 3 years ago by an unverified publisher

Dart implementation of Quill Delta format for rich-text editing

WASM-ready
$ flutter pub add parchment_delta
Source repository

What it does

Provides a Delta class to represent, compose, and transform rich-text changes in the Quill.js format. It can be used to build or integrate a rich-text editor in Dart applications.

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

Use it when

  • You need to manipulate or serialize Quill Delta documents in a Dart/Flutter app
  • You are building a custom editor or syncing rich-text changes with a backend that uses Quill format

Skip it when

  • You are using a full-featured editor widget that already handles Delta internally
  • You only need simple text editing without Delta semantics

Strengths

  • Simple API, no heavy dependencies
  • Supports compose, retain, delete operations
  • Cross-platform (dart, web, mobile, desktop)

Weaknesses

  • No UI components
  • Limited to Delta format only
  • No built-in persistence or collaboration features

Setup

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

void main() {
  var doc = Delta()..insert('Hello world', {'h': '1'});
  var change = Delta()
    ..retain(6)
    ..delete(5)
    ..insert('Earth');
  var result = doc.compose(change);
  print(result);
}

Alternatives

Packages that do the same job and could replace parchment_delta.

Works with

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