基础组件库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

37 lines
1.1 KiB

  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. }