buildWidget method
Builds the widget for this node.
Override this method to provide a custom widget for self-rendering nodes
like annotations. When this returns null, the external nodeBuilder
callback is used instead.
Implementation
Widget? buildWidget(BuildContext context) => null;