hide static method
void
hide()
Programmatically hide the current toast (if any) with an exit animation.
Implementation
static void hide() {
_toastKey?.currentState?.dismiss();
}
Programmatically hide the current toast (if any) with an exit animation.
static void hide() {
_toastKey?.currentState?.dismiss();
}