Called when the element is removed from the tree; activate follows if a GlobalKey puts it back elsewhere in the same frame, dispose if not.
@protected @mustCallSuper void deactivate() {}