Fix not found object in bindings
(cherry picked from commit c9086077656b927b50c50498ca6f98e5a1da2b1e)
This commit is contained in:
@@ -1,32 +1,17 @@
|
||||
import 'package:connectivity_plus/connectivity_plus.dart';
|
||||
import 'package:core/presentation/resources/image_paths.dart';
|
||||
import 'package:core/presentation/utils/app_toast.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:tmail_ui_user/features/base/base_bindings.dart';
|
||||
import 'package:tmail_ui_user/features/network_connection/presentation/network_connection_controller.dart';
|
||||
|
||||
class NetWorkConnectionBindings extends BaseBindings {
|
||||
class NetWorkConnectionBindings extends Bindings {
|
||||
|
||||
@override
|
||||
void bindingsController() {
|
||||
Get.put(NetworkConnectionController(Get.find<Connectivity>()));
|
||||
}
|
||||
|
||||
@override
|
||||
void bindingsDataSource() {
|
||||
}
|
||||
|
||||
@override
|
||||
void bindingsDataSourceImpl() {
|
||||
}
|
||||
|
||||
@override
|
||||
void bindingsInteractor() {
|
||||
}
|
||||
|
||||
@override
|
||||
void bindingsRepository() {
|
||||
}
|
||||
|
||||
@override
|
||||
void bindingsRepositoryImpl() {
|
||||
void dependencies() {
|
||||
Get.put(NetworkConnectionController(
|
||||
Get.find<Connectivity>(),
|
||||
Get.find<ImagePaths>(),
|
||||
Get.find<AppToast>(),
|
||||
));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user