Called before the widget is updated or when this Node is removed from the tree.
void disposeElement() { for (final eventSubscription in _eventSubscriptions) { eventSubscription.cancel(); } _eventSubscriptions.clear(); }