mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-06 08:30:29 +00:00
13 lines
340 B
Dart
13 lines
340 B
Dart
import 'package:get/get.dart';
|
|
|
|
import '../../../../util/network_monitor.dart';
|
|
import '../controllers/root_controller.dart';
|
|
|
|
class RootBinding extends Bindings {
|
|
@override
|
|
void dependencies() {
|
|
Get.lazyPut<RootController>(() => RootController(), fenix: true);
|
|
Get.put<NetworkMonitor>(NetworkMonitor(), permanent: true);
|
|
}
|
|
}
|