CommonMergerBuilder class
CommonMergerBuilder is focused in merge paragraphs with the same block-attributes or if them are inlines and accept also merge embeds if mergeEmbeds param is true
- Inheritance
-
- Object
- MergerBuilder
- CommonMergerBuilder
- Annotations
-
- @immutable
Constructors
- CommonMergerBuilder.new({bool mergeEmbeds = false})
-
const
Properties
- enabled → bool
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- mergeEmbeds → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildAccumulation(
List< Paragraph> paragraphs) → List<Paragraph> -
override
-
canMergeBothParagraphs(
{required Paragraph paragraph, required Paragraph nextParagraph}) → bool -
Decides if we will merge the current Pr ↓ with the nextParagraph
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited