hide method

Future<void> hide({
  1. bool animate = true,
})

Implementation

Future<void> hide({bool animate = true}) async {
  _timer?.cancel();
  _shown.value = false;
  if (animate) await _controller.forward(from: 0);
  _visibleToast.value = null;
}