state.dart 686 B

123456789101112131415161718192021222324
  1. import 'package:get/get.dart';
  2. import '../../../../common/models/index.dart';
  3. class MeetingFormState {
  4. // title
  5. final _title = "".obs;
  6. set title(value) => _title.value = value;
  7. get title => _title.value;
  8. Rx<MeetingInfoModel?> meetingInfo = Rx<MeetingInfoModel?>(null);
  9. RxList<String> typeList = <String>[].obs;
  10. // 是否显示 会议 mode 选择器
  11. final _showMode = false.obs;
  12. set showMode(bool value) => _showMode.value = value;
  13. bool get showMode => _showMode.value;
  14. // 是否显示 在线会议的字段 link roomid
  15. final _showOnline = false.obs;
  16. set showOnline(bool value) => _showOnline.value = value;
  17. bool get showOnline => _showOnline.value;
  18. }