dispose method

  1. @override
void dispose()
override

Releases the resources this render object holds, such as event listeners added to its node.

Called once the render object is no longer used, such as when its element unmounts. Its node can stay in the document afterwards, such as in a removed slot of a SlottedChildView or after the root component is detached.

Implementation

@override
void dispose() {}