state.dart 687 B

123456789101112131415161718
  1. import 'package:get/get.dart';
  2. class LabMainState {
  3. // 是否显示左侧更多Tab Icon
  4. final RxBool _showLeftMoreIcon = false.obs;
  5. set showLeftMoreIcon(bool value) => _showLeftMoreIcon.value = value;
  6. bool get showLeftMoreIcon => _showLeftMoreIcon.value;
  7. // 是否显示右侧更多Tab Icon
  8. final RxBool _showRightMoreIcon = false.obs;
  9. set showRightMoreIcon(bool value) => _showRightMoreIcon.value = value;
  10. bool get showRightMoreIcon => _showRightMoreIcon.value;
  11. // 底部自定义文本
  12. final RxString _bottomCustomText = ''.obs;
  13. set bottomCustomText(String value) => _bottomCustomText.value = value;
  14. String get bottomCustomText => _bottomCustomText.value;
  15. }