|
@@ -22,7 +22,7 @@ Future<void> showToast(String message, {toastLength: Toast.LENGTH_LONG}) {
|
|
..loadingStyle = EasyLoadingStyle.custom;
|
|
..loadingStyle = EasyLoadingStyle.custom;
|
|
return EasyLoading.showToast(
|
|
return EasyLoading.showToast(
|
|
message,
|
|
message,
|
|
- duration: Duration(seconds: (toastLength == Toast.LENGTH_LONG ? 4 : 3)),
|
|
|
|
|
|
+ duration: Duration(seconds: (toastLength == Toast.LENGTH_LONG ? 6 : 3)),
|
|
toastPosition: EasyLoadingToastPosition.bottom,
|
|
toastPosition: EasyLoadingToastPosition.bottom,
|
|
);
|
|
);
|
|
}
|
|
}
|