close method

void close()

Implementation

void close() {
  Future.delayed(widget.duration, () {
    _hideTooltip();
  });
}