dreampad/lib/app/modules/home/bindings/home_binding.dart

15 lines
323 B
Dart
Raw Permalink Normal View History

2023-11-28 10:44:58 +08:00
import 'package:get/get.dart';
import '../controllers/home_controller.dart';
import '../providers/home_provider.dart';
class HomeBinding extends Bindings {
@override
void dependencies() {
Get.put(HomeProvider());
Get.lazyPut<HomeController>(
() => HomeController(homeProvider: Get.find()),
);
}
}