NudgeNodeRendererRegistry class
Registry / dispatcher (Strategy selector). Open/closed: support a new widget
by adding a renderer to _defaults (or injecting one) — no existing code
changes. Unknown nodes degrade to an empty box rather than throwing.
Constructors
-
NudgeNodeRendererRegistry([List<
NudgeNodeRenderer< ? renderers])NudgeNode> >
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
-
render(
NudgeNode node, BuildContext context) → Widget -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited