convert_delta library
Classes
- AttributeGestureMapper
- An opaque object, used to manage the lifetimes of GestureRecognizers.
- AttributeSegment
- A range of the source text with the set of attributes that are applied to it.
- AttributeSpan
- A TextAttribute applied to a range of text.
-
ClosureConverter<
S, T> - Create a Converter with a closure instead of a class.
- DeleteOp
- A Quill delta delete operation.
- Document
- Rich text represented as a list of Paragraphs.
- DocumentBuilder
- Builds a Document. Can be used fluently with cascades.
- DocumentDeltaConverter
- Convert a document to or from a list of insert operations in Quill's delta format.
- DocumentDeltaDecoder
- Convert a list of Quill delta format insert operations to a document.
- DocumentDeltaEncoder
- Encodes a document to a list of Quill delta insert operations.
-
EmbedCodec<
T extends ParagraphEmbed> - Codec that can encode/decode the value of the embed with matching key.
- InsertObjectOp
- A Quill delta operation that inserts an object.
- InsertOp
- A Quill delta operation that inserts formatted text.
- LineModifier
- Wraps a line to modify how it's displayed.
- LineParagraph
- Immutable representation of a line of rich text in a Document.
- Op
- Quill delta operation.
- OpJsonCodec
- Convert between an Op and a json object.
- Paragraph
- A paragraph in a Document. Is either a LineParagraph for rich text, or a ParagraphEmbed for other content.
- ParagraphEmbed
- Base class for paragraph embeds.
- ParagraphEmbedController
- Interface for controller of a ParagraphEmbed.
- Range
- A range with a start and end index.
- RetainOp
- A Quill delta retain operation. Can apply formatting over its length.
- SpanExpandRules
- Contains an ExpandRule for the start and end boundaries of a span.
- SpanList
- Manages AttributeSpans apart from the text to which they are to be applied.
- SpannedString
- Rich text represented with a String and a SpanList.
- SpannedStringBuilder
- Builds a SpannedString. Can be used fluently with cascades.
- TextAttribute
- An attribute to apply to a span of text.
- TextAttributeDeltaCodec
- Rules for encoding and decoding a TextAttribute to and from a Quill delta attribute.
- TextAttributeValue
- Style and gesture handlers that can be applied to a TextSpan.
- ThemedTextAttribute
- Base class for TextAttribute implementations that need an AttributeTheme to resolve their theme.
- UneditableEmbed
- Base class for embeds that cannot be edited.
Enums
- ExpandRule
- Determines if a span expands when AttributeSpan.shift is called at its boundaries.
Extensions
-
AttributeSegmentsExtensions
on Iterable<
AttributeSegment> - Implements buildTextSpan for attribute segments.
- ExpandRuleExtension on ExpandRule
- Extensions for SpanAttachment.
-
LineModifierX
on Iterable<
LineModifier> - Extension method to apply line modifiers to a widget.
Constants
- maxSpanLength → const int
- Maximum length of a span.
Functions
-
deltaBoolAttributeCodec(
String key, TextAttribute instance) → TextAttributeDeltaCodec - Convenience function to create a codec for a TextAttribute with a boolean value.
Typedefs
-
EmbedDecoder<
T extends ParagraphEmbed> = T Function(Map< String, dynamic> ) - Function that decodes an embed.
-
EmbedEncoder<
T extends ParagraphEmbed> = Map< String, dynamic> Function(T) - Function that encodes an embed.