detach method Null safety

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

Called when the RenderObject is removed from the tree.

Implementation

@protected
@mustCallSuper
void detach() { }