detach method

void detach()

Detach callbacks (called on dispose).

Implementation

void detach() {
  _showCallback = null;
  _hideCallback = null;
}