MarkdownToDelta class

Convertor from Markdown string to quill Delta.

Inheritance

Constructors

MarkdownToDelta({required Document markdownDocument, Map<String, ElementToAttributeConvertor> customElementToInlineAttribute = const {}, Map<String, ElementToAttributeConvertor> customElementToBlockAttribute = const {}, Map<String, ElementToEmbeddableConvertor> customElementToEmbeddable = const {}, bool softLineBreak = false})

Properties

customElementToBlockAttribute Map<String, ElementToAttributeConvertor>
final
customElementToEmbeddable Map<String, ElementToEmbeddableConvertor>
final
customElementToInlineAttribute Map<String, ElementToAttributeConvertor>
final
hashCode int
The hash code for this object.
no setterinherited
markdownDocument → Document
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
softLineBreak bool
final

Methods

bind(Stream<String> stream) Stream<Delta>
Transforms the provided stream.
inherited
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(String input) Delta
Converts input and returns the result of the conversion.
override
fuse<TT>(Converter<Delta, TT> other) Converter<String, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<Delta> sink) Sink<String>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited
visitElementAfter(Element element) → void
Called when an Element has been reached, after its children have been visited.
visitElementBefore(Element element) bool
Called when an Element has been reached, before its children have been visited.
visitText(Text text) → void
Called when a Text node has been reached.

Operators

operator ==(Object other) bool
The equality operator.
inherited