hideHandles method Null safety

void hideHandles()

Destroys the handles by removing them from overlay.

Implementation

void hideHandles() {
  if (_handles != null) {
    _handles![0].remove();
    _handles![1].remove();
    _handles = null;
  }
}