convert_json 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.
- AttributeTheme
- Theming for TextAttribute.
- AttributeThemeBuilder
- Builder for AttributeThemeData.
- AttributeThemeData
- Map of properties that can be used to theme TextAttribute. Data class for AttributeTheme.
-
ClosureConverter<
S, T> - Create a Converter with a closure instead of a class.
-
ComponentCodec<
T> - Rules for encoding and decoding a boustro component.
- 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.
- DocumentJsonCodec
- Convert a document to or from JSON.
- 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.
-
LineModifierCodec<
T extends LineModifier> - Component codec for LineModifiers.
- LineParagraph
- Immutable representation of a line of rich text in a Document.
- Op
- Quill delta operation.
- 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.
-
ParagraphEmbedCodec<
T extends ParagraphEmbed> - Component codec for ParagraphEmbeds.
- 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.
- SpannedTextEditingController
- A TextEditingController with rich text capabilities.
- StringDiff
- Result of SpannedTextEditingController.diffStrings.
- TextAttribute
- An attribute to apply to a span of text.
-
TextAttributeCodec<
T extends TextAttribute> - Component codec for TextAttributes.
- 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.
- OverrideType
- Passed to SpannedTextEditingController.setOverride to indicate if a TextAttribute should be applied or removed.
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.
- SpannedTextEditingControllerExtension on SpannedTextEditingController
- High-level convenience methods for SpannedTextEditingController.
Constants
- maxSpanLength → const int
- Maximum length of a span.
Typedefs
- ProcessTextValue = TextEditingValue Function(SpannedTextEditingController, TextEditingValue)
- Used by SpannedTextEditingController to process SpannedTextEditingController.value whenever it changes.
Exceptions / Errors
- JsonEncoderException
- Exception thrown when json encoding fails.