removeCustomToast method

void removeCustomToast()

If any active toast present call removeCustomToast to hide the toast immediately

Implementation

void removeCustomToast() {
  _timer?.cancel();
  _timer = null;
  if (_entry != null) _entry!.remove();
  _entry = null;
  _showOverlay();
}