Files
Fondex-Driver/lib/controllers/driver_order_controller.dart
2025-12-08 23:25:00 +05:00

22 lines
459 B
Dart

import 'package:get/get.dart';
class DriverOrderListController extends GetxController {
RxString driverId = "".obs;
RxString serviceType = "".obs;
@override
void onInit() {
super.onInit();
final args = Get.arguments;
if (args != null) {
if (args['driverId'] != null) {
driverId.value = args['driverId'];
}
if (args['serviceType'] != null) {
serviceType.value = args['serviceType'];
}
}
}
}