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.
Constructors
- NudgeNodeRenderer()
-
const
Properties
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