NudgeNodeRenderer<T extends NudgeNode> class abstract base

Strategy (GoF): renders a single kind of NudgeNode to a Flutter widget.

One concrete strategy per widget type, each with a single responsibility. The strategy returns only the node's own content — the shared box envelope is added separately by NudgeBoxDecorator.

T types each concrete strategy to its node; renderDynamic is the type-erased entry the registry calls, with the (registry-guaranteed) cast localised here.

Implementers

Constructors

NudgeNodeRenderer()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
nodeType Type
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
render(T node, BuildContext context) Widget
renderDynamic(NudgeNode node, BuildContext context) Widget
toString() String
A string representation of this object.
inherited

Operators

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