TF-248 Change ui toast notification

This commit is contained in:
dab246
2022-02-09 14:20:07 +07:00
committed by Dat H. Pham
parent a48f508171
commit 818d65b3a6
8 changed files with 70 additions and 9 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
import 'package:core/core.dart';
import 'package:core/presentation/utils/app_toast.dart';
import 'package:device_info/device_info.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:get/get.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:tmail_ui_user/features/email/data/local/html_analyzer.dart';
@@ -39,6 +39,7 @@ class CoreBindings extends Bindings {
}
void _bindingToast() {
Get.put(FToast());
Get.put(AppToast());
}
@@ -518,4 +518,12 @@ class AppLocalizations {
'This feature is under development.',
name: 'the_feature_is_under_development');
}
String marked_message_toast(String action) {
return Intl.message(
'Youve marked messages as "$action"',
name: 'marked_message_toast',
args: [action]
);
}
}