TF-2520 Convert email object to html to perform print on browser

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2024-03-06 16:41:01 +07:00
committed by Dat H. Pham
parent ebd62ab78f
commit 632762bfcd
22 changed files with 309 additions and 531 deletions
+1 -3
View File
@@ -10,7 +10,6 @@ import 'package:core/utils/print_utils.dart';
import 'package:device_info_plus/device_info_plus.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:get/get.dart';
import 'package:htmltopdfwidgets/htmltopdfwidgets.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:tmail_ui_user/features/sending_queue/presentation/utils/sending_queue_isolate_manager.dart';
import 'package:tmail_ui_user/main/utils/app_config.dart';
@@ -62,8 +61,7 @@ class CoreBindings extends Bindings {
Get.put(CompressFileUtils());
Get.put(AppConfigLoader());
Get.put(FileUtils());
Get.put(HTMLToPdf());
Get.put(PrintUtils(Get.find<HTMLToPdf>(), Get.find<ImagePaths>()));
Get.put(PrintUtils(Get.find<ImagePaths>(), Get.find<FileUtils>()));
}
void _bindingIsolate() {