detach method Null safety

  1. @protected
  2. @mustCallSuper
void detach()
mustCallSuper">@mustCallSuperprotected">@protected

Called when the RenderObject is removed from the tree.

Implementation

@protected
@mustCallSuper
void detach() { }