legacy library
Classes
- BlockquoteConverter
-
A converter for the
blockquotetag. - CellSpan
- CodeConverter
-
A converter for code elements (
codeandpretags) - ContainerConverter
- Converts container elements (div, section, article, etc.)
- DefaultConverter
- Default fallback converter for unknown elements
-
ElementConverter<
T extends TagflowNode> - Base interface for element converters
- ElementParser
- HrConverter
- Converter for horizontal rules
- ImgConverter
- Converter for img elements
- ImgParser
- ListConverter
- ListItemConverter
-
NodeParser<
T extends TagflowNode> - SizeValue
- Represents a size value that can be either absolute or relative
- StyledContainer
- A container that applies TagflowStyle to its child
- StyleParser
- Utility class to parse CSS-like values into Flutter values
- TableCellConverter
- TableConverter
- TableParser
- Tagflow
- Main widget for rendering rich content.
- TagflowComponentContext
- Rendering context passed to semantic component builders.
- TagflowComponentRegistry
- Registry for mapping semantic Tagflow node kinds to Flutter components.
- TagflowContentPolicy
- Safe default content policy contract for adapters.
- TagflowConverter
- Main converter that orchestrates the conversion process
- TagflowDocument
- Immutable source-agnostic rich-content document for Tagflow runtime APIs.
- TagflowDocumentNode
- Immutable semantic node used by the runtime document model.
- TagflowDocumentPatch
- Immutable structural update operation for a TagflowDocument.
- TagflowElement
- Represents an HTML element in the tagflow tree.
- TagflowHtmlAdapter
- Converts HTML input into the native Tagflow runtime document model.
- TagflowHtmlDocumentBridge
- Transitional bridge from runtime documents into the legacy converter tree.
- TagflowHtmlNodeIdStrategy
- Configures how the HTML adapter assigns runtime node IDs.
- TagflowImgElement
- TagflowMetadata
- Immutable metadata attached to documents, nodes, or source records.
- TagflowNativeBlock
- Immutable native block payload adapted into the runtime document model.
- TagflowNativeBlockAdapter
- Adapts typed native blocks into the canonical TagflowDocument model.
- TagflowNativeBlockCodec
- JSON codec for the native block adapter transport shape.
- TagflowNativeBlockDocument
- Immutable document envelope for native blocks.
- TagflowNativeBlockPatch
- Immutable native block update operation adapted into runtime document patches.
- TagflowNativeBlockPatchEnvelope
- Ordered native block patch envelope with producer revision tokens.
- TagflowNode
- TagflowNodeIds
- Stable path-based ID helpers for runtime document nodes.
- TagflowOptions
- Legacy alpha compatibility wrapper for runtime view options.
- TagflowParser
- Parses HTML string into TagflowElement
- TagflowPresentation
- Immutable presentation hints carried by adapters into the runtime layer.
- TagflowRenderBoundary
- Boundary that limits rendering when matched while parsing the HTML tree.
- TagflowScope
- Scope for providing options to descendants
- TagflowSelectableAdapter
- A widget that wraps the child with selectable functionality.
- TagflowSelectableOptions
- Options for configuring the selectable behavior of the Tagflow widget
- TagflowSourceInfo
- Source location and adapter metadata for a document or node.
- TagflowStyle
- Style configuration for HTML elements
- TagflowTableElement
- TagflowTagPolicyDecision
- Result of a tag policy check.
- TagflowTheme
- A theme that provides default styles for all HTML elements in Tagflow.
- TagflowThemeProvider
- Provides theme to descendant widgets
- TagflowUrlPolicyDecision
- Result of a URL policy check.
- TagflowViewOptions
- Options for configuring the Tagflow widget
- TextConverter
- Converter for text elements
Enums
- AlignContent
- Defines how flex items are aligned along the cross axis
- AlignItems
- Defines how flex items are aligned along the cross axis
- Display
- Defines the display type of an element
- FlexDirection
- Defines the flex direction of a flex container
- FlexWrap
- Defines how flex items wrap
- JustifyContent
- Defines how flex items are aligned along the main axis
- SizeUnit
- Represents different types of size units
- TagflowImageSelectionBehavior
- Behavior for selecting images
- TagflowInlineSemantic
- Source-agnostic inline text semantics that affect presentation.
- TagflowNativeBlockKind
- Semantic native block kinds supported by the block adapter contract.
- TagflowNativeBlockPatchKind
- Semantic native update kinds supported by the patch adapter slice.
- TagflowNodeKind
- Semantic runtime node kinds for Tagflow documents.
- TagflowResourceType
- Source URL categories evaluated by the content policy.
- TagflowSourceKind
- High-level source kinds that can produce a Tagflow document.
- TagflowTagDecisionReason
- Reasons a tag decision may be rejected.
- TagflowUnsupportedBehavior
- Runtime behavior for unsupported content.
- TagflowUrlDecisionReason
- Reasons a URL decision may be rejected.
Extensions
- AlignItemsExtensions on AlignItems
- FlexTypeExtensions on FlexDirection
- Extension methods for converting style enums to Flutter types
- JustifyContentExtensions on JustifyContent
- StyleExtension on TagflowStyle
- TagflowDocumentQueries on TagflowDocument
- Query and validation helpers for TagflowDocument.
- TagflowDocumentUpdates on TagflowDocument
- Immutable update helpers for TagflowDocument.
- TagflowNodeLink on TagflowNode
- Link-related extensions for TagflowNode
- TagflowNodePosition on TagflowNode
- Position-related extensions for TagflowNode
- TagflowNodeSize on TagflowNode
- Size-related extensions for TagflowNode
- TagflowNodeStyle on TagflowNode
- Style-related extensions for TagflowNode
Typedefs
- ErrorWidgetBuilder = TagflowErrorWidgetBuilder
- Legacy widget-level error builder typedef.
- TagflowComponentBuilder = Widget Function(TagflowComponentContext context, TagflowDocumentNode node)
- Builds a Flutter widget for a semantic Tagflow document node.
- TagflowErrorWidgetBuilder = Widget Function(BuildContext context, Object? error)
- Error widget builder for handling parsing and rendering failures.
-
TagflowLinkTapCallback
= void Function(String url, LinkedHashMap<
String, String> ? attributes) - Callback for handling link taps