You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
import 'package:get/get.dart';
|
|
|
|
|
import 'package:problem_check_system/app/features/home/controllers/home_controller.dart';
|
|
|
|
|
|
|
|
|
|
class HomeBinding implements Bindings {
|
|
|
|
|
@override
|
|
|
|
|
void dependencies() {
|
|
|
|
|
/// 注册主页控制器
|
|
|
|
|
Get.lazyPut<HomeController>(() => HomeController());
|
|
|
|
|
// Get.put(ProblemStateManager(uuid: Get.find(), authRepository: Get.find()));
|
|
|
|
|
// // Get.lazyPut<EnterpriseListController>(() => EnterpriseListController());
|
|
|
|
|
|
|
|
|
|
// /// 注册问题控制器
|
|
|
|
|
// Get.lazyPut<ProblemController>(
|
|
|
|
|
// () => ProblemController(
|
|
|
|
|
// problemRepository: Get.find<ProblemRepository>(),
|
|
|
|
|
// problemStateManager: Get.find<ProblemStateManager>(),
|
|
|
|
|
// ),
|
|
|
|
|
// fenix: true,
|
|
|
|
|
// );
|
|
|
|
|
|
|
|
|
|
// /// 注册我的控制器
|
|
|
|
|
// Get.lazyPut<MyController>(
|
|
|
|
|
// () => MyController(authRepository: Get.find<AuthRepository>()),
|
|
|
|
|
// );
|
|
|
|
|
}
|
|
|
|
|
}
|