user_manage_controller.dart 458 B

12345678910111213141516171819
  1. import 'package:application/service/map_watch.dart';
  2. import '../../../widget.dart';
  3. export 'package:application/service/map_watch.dart';
  4. class UserManageController extends GetxController{
  5. @override
  6. void onInit() {
  7. super.onInit();
  8. final map = MapWatchService.instance;
  9. if(map != null){
  10. activeList.bindStream(map.activeList.stream);
  11. }
  12. }
  13. final activeList = <ActiveInfo>[].obs;
  14. final Rx<ActiveInfo?> selectActive = Rx(null);
  15. }