NodeWidgetFactory class
Factory for creating node widgets based on node type and configuration
Constructors
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
-
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
Static Methods
-
buildNodeWidget(
{required RoadmapNode node, required double width, required double height, required Map< String, NodeWidgetType> ? nodeTypeToWidgetType, VoidCallback? onTap, VoidCallback? onLongPress}) → Widget - Build a specific node widget based on the widget type Uses the width and height from the layout engine's computed Rect