ParagraphType enum

Enumerates different types of paragraphs that can be represented.

This enum defines three types of paragraphs:

  • inline: Represents inline paragraphs typically used for short text or elements embedded within larger content.
  • block: Denotes block-level paragraphs, which are standalone elements separated from adjacent content by line breaks or other spacing.
  • lineBreak: Denotes block-level separation for the paragraphs
  • embed: Indicates embedded content paragraphs, such as multimedia or external content integrated within a document.
Inheritance
Available extensions

Values

inline → const ParagraphType

Inline paragraph type for short text or elements within larger content.

block → const ParagraphType

Block-level paragraph type, representing standalone elements.

lineBreak → const ParagraphType
embed → const ParagraphType

Embedded content paragraph type, integrating external or multimedia content.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<ParagraphType>
A constant List of the values in this enum, in order of their declaration.