基础组件库
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

contants.dart 1.1 KiB

123456789101112131415161718192021222324252627282930313233343536
  1. import 'package:flutter/material.dart';
  2. ///通用配置,避免一些多次重复的字符串被写在代码中
  3. class Constants {
  4. ///获取模块类型
  5. static const String SkipIdentifierName = "skip_identifier";
  6. ///全局context
  7. //==============================智能粘贴版===================================start
  8. static BuildContext context;
  9. ///智能搜索版是否弹起
  10. static bool isShowIntellectDialog = false;
  11. ///是否缓存设置信息
  12. static String spIsCacheSetModel = "spIsCacheSetModel";
  13. //==============================智能粘贴版===================================end
  14. //==============================弹窗===================================start
  15. ///用户协议显示
  16. static String isShowPolicy = "is_show_policy";
  17. ///推送权限弹窗
  18. static String isShowNotiPermission = "isShowNotiPermission";
  19. //==============================弹窗===================================end
  20. //==============================版本号,控制引导页显示===================================
  21. static String versionNumber = "versionNumber";
  22. ///masterId
  23. static String masterId="sp_master_id";
  24. }