change_phone_binding.dart
810 Bytes
import 'package:doublefeel_flutter/app/modules/change_phone/controllers/change_phone_controller.dart';
import 'package:doublefeel_flutter/app/modules/change_phone/services/change_phone_gateway.dart';
import 'package:doublefeel_flutter/data/local/local_storage.dart';
import 'package:doublefeel_flutter/data/local/user_preferences_storage.dart';
import 'package:get/get.dart';
class ChangePhoneBinding extends Bindings {
@override
void dependencies() {
Get.lazyPut<ChangePhoneGateway>(
() => const PlaceholderChangePhoneGateway());
Get.lazyPut<ChangePhoneController>(
() => ChangePhoneController(
userPreferencesStorage: Get.find<UserPreferencesStorage>(),
localStorage: Get.find<LocalStorage>(),
gateway: Get.find<ChangePhoneGateway>(),
),
);
}
}