CacheKey
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | import 'package:flutter/material.dart' ; class CacheKey { /// 应用缓存的版本,主要用来判断新特性 static const String appVersionKey = "app_version_key" ; /// 应用语言 static const String appLanguageKey = "app_language_key" ; /// 登陆账号 static const String rawLoginKey = "raw_login_key" ; /// 微信登陆账号信息 static const String wechatUserDataKey = "wechat_user_data_key" ; /// ---- 通用 /// 听筒模式 static const String receiverModeKey = "receiver_mode_key" ; // 设置静态属性 本项目规定:大写的属性认为是静态属性且只读 /// ---- 应用 /// 第一次使用 static const String initializedKey = "initialized_key" ; /// ---- 发现页key /// 朋友圈 static const String momentsKey = "moments_key" ; /// 扫一扫 static const String qrCodeKey = "qrCode_key" ; /// 摇一摇 static const String shakeKey = "shake_key" ; /// 看一看 static const String lookKey = "look_key" ; /// 搜一搜 static const String searchKey = "search_key" ; /// 附近的人 static const String locationServiceKey = "locationService_key" ; /// 漂流瓶 static const String bottleKey = "bottle_key" ; /// 购物 static const String shoppingKey = "shopping_key" ; /// 游戏 static const String gameKey = "game_key" ; /// 小程序 static const String moreAppsKey = "more_apps_key" ; /// ---- 新消息通知 /// 新消息通知 static const String messageNotifyKey = "message_notify_key" ; /// 语音和视频通话提醒 static const String callReminderKey = "call_reminder_key" ; /// 通知显示消息详情 static const String notifyMessageDetailKey = "notify_message_detail_key" ; /// 声音 static const String notifyVoiceKey = "notify_voice_key" ; /// 振动 static const String notifyVibrationKey = "notify_vibration_key" ; /// ---- 隐私 /// 加我为朋友时需要验证 static const String addFriendNeedVerifyKey = "add_friend_need_verify_key" ; /// 向我推荐通讯录朋友 static const String recommendFriendFromContactsListKey = "recommend_friend_from_contacts_list_key" ; /// 允许陌生人查看十条朋友圈 static const String allowStrongerWatchTenMomentsKey = "allow_stronger_watch_ten_moments_key" ; /// 朋友圈更新提醒 static const String momentsUpdateAlertKey = "moments_update_alert_key" ; /// 朋友圈查看范围 static const String momentsCheckScopeKey = "moments_check_scope_key" ; /// ---- 添加我的方式 /// 手机号 static const String findByPhoneNumberKey = "find_by_phone_number_key" ; /// wechatID static const String findByWechatIdKey = "find_by_wechat_id_key" ; /// QQ static const String findByQQKey = "find_by_qq_key" ; /// 群聊 static const String addByChatGroupKey = "add_by_chat_group_key" ; /// 我的二维码 static const String addByMyQrCodeKey = "add_by_my_qr_code_key" ; /// 名片 static const String addByVisitingCardKey = "add_by_visiting_card_key" ; /// ---- 照片、视频和文件 /// 自动下载 static const String autoDownloadKey = "auto_download_key" ; /// 不让他 static const String resourcePictureKey = "resource_picture_key" ; /// 视频 static const String resourceVideoKey = "resource_video_key" ; /// 自动播放 static const String videoAutoPlayKey = "video_auto_play_key" ; /// ---- 联系人-资料设置 /// 设为星标朋友 static const String settingToStarFriendKey = "setting_to_star_friend_key" ; /// 不让他看朋友圈 static const String notAllowLookMyMomentsKey = "not_allow_look_my_moments_key" ; /// 不看他的朋友圈 static const String notLookHisMomentsKey = "not_look_his_moments_key" ; /// 加入黑名单 static const String joinToBlacklistKey = "join_to_blacklist_key" ; /// ---- 联系人-朋友权限 /// 聊天、朋友圈、微信运动等 static const String settingFriendPermissionKey = "setting_friend_permission_key" ; } |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 终于写完轮子一部分:tcp代理 了,记录一下
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
2022-08-23 app.vue
2022-08-23 HelloWorld.vue
2022-08-23 开发记录
2018-08-23 新闻写法——消息写作
2018-08-23 新闻写作
2018-08-23 怎样写通讯
2018-08-23 政务信息3