Closed MahmoudAbunaji closed 3 years ago
There's no neat way to do that. I found that specifying isIgnoring and duration parameters works. If you want a toast to stay forever you could do :
showToastWidget(
isIgnoring: false
duration: Duration.zero
)
If you want this same toast to be dismissed :
showToastWidget(
isIgnoring: true
duration: Duration(milliseconds: 1)
)
Use dismissAllToast(showAnim: true);
@JackJonson I'll try thank you
How to hide the shown toast programmatically