TagflowNativeBlockKind enum

Semantic native block kinds supported by the block adapter contract.

Inheritance
Available extensions

Values

paragraph → const TagflowNativeBlockKind

A paragraph of inline content.

heading → const TagflowNativeBlockKind

A heading; needs a level attribute from 1 to 6.

text → const TagflowNativeBlockKind

A run of text in text, with optional semantics.

A link; needs a url attribute.

list → const TagflowNativeBlockKind

A list; ordered and optional startIndex attributes.

listItem → const TagflowNativeBlockKind

A list item, with optional checked for tasks.

descriptionList → const TagflowNativeBlockKind

A description list of terms and details.

descriptionTerm → const TagflowNativeBlockKind

A term in a description list.

descriptionDetails → const TagflowNativeBlockKind

The details for a term in a description list.

blockquote → const TagflowNativeBlockKind

A quotation.

disclosure → const TagflowNativeBlockKind

A section that can be expanded, with optional expanded.

disclosureSummary → const TagflowNativeBlockKind

The title of a disclosure.

codeBlock → const TagflowNativeBlockKind

Preformatted code in text, with optional language.

inlineCode → const TagflowNativeBlockKind

Inline code in text.

image → const TagflowNativeBlockKind

An image; needs a url, with optional alt, width, height.

table → const TagflowNativeBlockKind

A table of rows.

tableRow → const TagflowNativeBlockKind

A row of table cells.

tableCell → const TagflowNativeBlockKind

A table cell, with optional header, rowSpan, colSpan.

tableCaption → const TagflowNativeBlockKind

The caption of a table.

callout → const TagflowNativeBlockKind

A highlighted aside with optional tone and title.

horizontalRule → const TagflowNativeBlockKind

A thematic break.

container → const TagflowNativeBlockKind

A generic group of blocks, with optional display and semantics.

custom → const TagflowNativeBlockKind

App content with no built-in kind. Requires a type attribute and adapts to a TagflowNodeKind.custom node.

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<TagflowNativeBlockKind>
A constant List of the values in this enum, in order of their declaration.