detach method

void detach()

System Architecture Bridge: Safely disengages active listeners and references to protect against memory leaks during widget unmounting loops.

Implementation

void detach() {
  _animationController = null;
  _onAnimateOutTrigger = null;
}