hideHandles method

void hideHandles()

Destroys the handles by removing them from overlay.

Implementation

void hideHandles() {
  if (_handles != null) {
    _handles!.start.remove();
    _handles!.start.dispose();
    _handles!.end.remove();
    _handles!.end.dispose();
    _handles = null;
  }
}