15 lines
323 B
Dart
15 lines
323 B
Dart
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()),
|
|
);
|
|
}
|
|
}
|