TF-78 Create action bar and context menu when multiple selected email

This commit is contained in:
dab246
2021-09-15 10:05:27 +07:00
committed by Dat H. Pham
parent 59ab5265fd
commit 161eed5d72
21 changed files with 980 additions and 66 deletions
@@ -1,4 +1,5 @@
import 'package:core/presentation/utils/responsive_utils.dart';
import 'package:flutter/cupertino.dart';
import 'package:get/get.dart';
import 'package:tmail_ui_user/features/thread/data/datasource/thread_datasource.dart';
import 'package:tmail_ui_user/features/thread/data/datasource_impl/thread_datasource_impl.dart';
@@ -16,9 +17,11 @@ class ThreadBindings extends Bindings {
Get.lazyPut(() => ThreadRepositoryImpl(Get.find<ThreadDataSource>()));
Get.lazyPut<ThreadRepository>(() => Get.find<ThreadRepositoryImpl>());
Get.lazyPut(() => GetEmailsInMailboxInteractor(Get.find<ThreadRepository>()));
Get.lazyPut(() => ScrollController());
Get.put(ThreadController(
Get.find<ResponsiveUtils>(),
Get.find<GetEmailsInMailboxInteractor>(),
Get.find<ScrollController>(),
));
}
}