dispose method

  1. @override
void dispose()
override

Called after this Node is completely removed from the Node tree.

Flowing upwards

Implementation

@override
void dispose() {
  for (final childNode in childNodes) {
    childNode.dispose();
  }

  super.dispose();
}