initialize method

  1. @override
void initialize()
override

Called after this Node is added to the Node tree.

Flowing downwards

Implementation

@override
void initialize() {
  super.initialize();

  childNodes = _sanitizedChildWidgets
      .map((final childWidget) => childWidget.createNode())
      .toList();

  for (final childNode in childNodes) {
    childNode
      ..parentNode = this
      ..initialize();
  }
}