Enable user interactions during a toast
This commit is contained in:
parent
d6f7ad5020
commit
994d64eee5
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue