changed messages to toast
This commit is contained in:
@@ -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),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user