TagflowConverter class

Main converter that orchestrates the conversion process

Legacy API: the semantic runtime renders through TagflowComponentRegistry.render(...). Removed in tagflow 2.0.

Annotations
  • @Deprecated('Use TagflowComponentRegistry instead. Will be removed in tagflow 2.0.')

Constructors

TagflowConverter([List<ElementConverter<TagflowNode>>? customConverters])
Create a new converter with optional custom converters

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAllConverters(List<ElementConverter<TagflowNode>> converters) → void
Add multiple custom converters
addConverter(ElementConverter<TagflowNode> converter) → void
Add a custom converter
convert(TagflowNode element, BuildContext context) → Widget
Convert a TagflowElement to a Widget
convertChildren(List<TagflowNode> elements, BuildContext context) → List<Widget>
Convert a list of elements to widgets
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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