dart_quill_delta
10.8.3, released 2 years ago by freshplatform.net
Dart port of Quill Delta JSON format for rich-text documents
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
47Compare - parchment
Platform-agnostic rich text document model based on Delta format.
69Compare - json_schema
Validate JSON data against JSON Schema drafts in Dart.
63Compare - cv
Helpers to convert Dart objects to/from Map and JSON without code generation.
79Compare
Works with
Packages commonly used together with dart_quill_delta: ones it builds on, ones built on it, and its own family.
- quiverdart_quill_delta depends on itA set of utility libraries for Dart containing collections, async tools, and testing helpers.
- diff_match_patchdart_quill_delta depends on itDart library implementing diff, match and patch algorithms for plain text.
- flutter_quill_delta_from_htmlBuilt on dart_quill_deltaConverts HTML strings to Quill Delta format for use with Quill editor.
- flutter_quillBuilt on dart_quill_deltaA rich text WYSIWYG editor component and toolbar for Flutter apps.
- flutter_quill_to_pdfBuilt on dart_quill_deltaCreate PDF'S using deltas from Quill, with configurable attributes, fonts, and custom pdf widgets