deactivate method

  1. @protected
  2. @mustCallSuper
void deactivate()

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.

Implementation

@protected
@mustCallSuper
void deactivate() {}