Enable user interactions during a toast

This commit is contained in:
Vishnu Mohandas 2021-06-29 11:21:28 +05:30
parent d6f7ad5020
commit 994d64eee5

View file

@ -19,6 +19,7 @@ Future<void> showToast(String message, {toastLength: Toast.LENGTH_LONG}) {
..backgroundColor = Colors.blueGrey[900]
..indicatorColor = Colors.blueGrey[900]
..textColor = Colors.white
..userInteractions = true
..loadingStyle = EasyLoadingStyle.custom;
return EasyLoading.showToast(
message,