changed messages to toast

This commit is contained in:
amirrezaghabeli
2025-09-07 10:14:05 +03:30
parent ab3d7c7b03
commit 33edb093f5
16 changed files with 75 additions and 131 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ class AppToast {
toastification.show(
context: context,
type: ToastificationType.success,
style: ToastificationStyle.fillColored,
style: ToastificationStyle.flatColored,
title: Text(message),
autoCloseDuration: const Duration(seconds: 3),
);
@@ -16,7 +16,7 @@ class AppToast {
toastification.show(
context: context,
type: ToastificationType.error,
style: ToastificationStyle.fillColored,
style: ToastificationStyle.flatColored,
title: Text(message),
autoCloseDuration: const Duration(seconds: 3),
);