Skip to content
pubscout

vsc_quill_delta_to_html

1.0.5, released 2 years ago by vscorp.com

Converts Quill's Delta format to HTML.

WASM-ready
$ flutter pub add vsc_quill_delta_to_html
Source repository

What it does

Converts Quill Delta formatted data into HTML with support for nested lists, inline styles, and various custom attributes. It operates as a complete port of the quill-delta-to-html TypeScript package.

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

Use it when

  • You need to convert rich text from a Quill editor (such as Flutter Quill) into HTML format.
  • You are generating HTML-based emails using Quill content on the server-side or in Flutter.

Skip it when

  • You need to parse HTML back into Quill Delta format.

Strengths

  • Full support for Quill operations including images, videos, formulas, tables, and mentions.
  • Configurable options for output tags, sanitization, and inline styles.

Weaknesses

  • Supports insert operations only.

Setup

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

void main() {
  final deltaOps = [
    {'insert': 'Hello\n'},
    {
      'insert': 'This is colorful',
      'attributes': {'color': '#f00'}
    }
  ];

  final converter = QuillDeltaToHtmlConverter(
    ops,
    ConverterOptions.forEmail(),
  );

  final html = converter.convert();
  print(html);
}

Alternatives

Packages that do the same job and could replace vsc_quill_delta_to_html.

Works with

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