add geolocation View and controller and services, routes and bindings

This commit is contained in:
atseirjo
2025-10-20 15:14:42 +02:00
parent d6c3d141ef
commit b6bd692cd7
15 changed files with 2117 additions and 33 deletions

View File

@@ -0,0 +1,20 @@
import 'package:get/get.dart';
import '../controllers/geolocation_controller.dart';
/// GetX Binding für Geolocation Dependencies
class GeolocationBinding extends Bindings {
@override
void dependencies() {
// Lazy Loading - Controller wird erst erstellt wenn benötigt
Get.lazyPut<GeolocationController>(() => GeolocationController());
}
}
/// Alternative: Permanent Binding für App-weite Nutzung
class GeolocationPermanentBinding extends Bindings {
@override
void dependencies() {
// Permanent - Controller bleibt im Speicher
Get.put<GeolocationController>(GeolocationController(), permanent: true);
}
}