style.dart 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. import 'package:flutter/material.dart';
  2. import '../../page/component/full_with_icon_button.dart';
  3. class AppColors {
  4. static const APPBarColor = 0xffededed;
  5. static const APPBarTextColor = 0xff010101;
  6. static const APPCardColor = 0xff303030;
  7. static const TabIconNormal = 0xff999999;
  8. static const TabIconActive = 0xff46c11b;
  9. static const AppBarPopupMenuTextColor = 0xffffffff;
  10. static const TitleColor = 0xff353535;
  11. static const ConversationItemBg = 0xffffffff;
  12. static const DesTextColor = 0xff9e9e9e;
  13. static const DividerColor = 0xffd9d9d9;
  14. static const NotifyDotBg = 0xffff3e3e;
  15. static const NotifyDotText = 0xffffffff;
  16. static const ConversationMuteIcon = 0xffd8d8d8;
  17. static const DeviceInfoItemBg = 0xfff5f5f5;
  18. static const DeviceInfoItemText = 0xff606062;
  19. static const PrimaryColor = 0xffebebeb;
  20. static const BackgroundColor = 0xffededed;
  21. static const AppBarColor = 0xffededed;
  22. static const ActionIconColor = 0xff000000;
  23. static const ActionMenuBgColor = 0xff4c4c4c;
  24. static const CardBgColor = 0xffffffff;
  25. static const AppBarPopupMenuColor = 0xffffffff;
  26. static const DeviceInfoItemIcon = 0xff606062;
  27. static const ContactGroupTitleBg = 0xffebebeb;
  28. static const ContactGroupTitleText = 0xff888888;
  29. static const IndexLetterBoxBg = Colors.black45;
  30. static const HeaderCardBg = Colors.white;
  31. static const HeaderCardTitleText = 0xff353535;
  32. static const HeaderCardDesText = 0xff7f7f7f;
  33. static const ButtonDesText = 0xff8c8c8c;
  34. static const ButtonArrowColor = 0xffadadad;
  35. static const NewTagBg = 0xfffa5251;
  36. static const FullWithIconButton = 0xff3d3d3d;
  37. static const KeyboardArrowRight = 0xffacacac;
  38. static const TextBobuleRight = 0xff9def71;
  39. static const TextBobuleLeft = 0xffffffff;
  40. static const TextBobule = 0xff3e3e3e;
  41. static const ChatDetailBg = 0xffefefef;
  42. static const ChatTime = 0xffababab;
  43. }
  44. class ICons {
  45. static const String FONT_FAMILY = 'wxIconFont';
  46. static const IconData MESSAGE = const IconData(
  47. 0xe622, fontFamily: ICons.FONT_FAMILY);
  48. static const IconData ADDRESSLIST = const IconData(
  49. 0xe648, fontFamily: ICons.FONT_FAMILY);
  50. static const IconData DISCOVER = const IconData(
  51. 0xe613, fontFamily: ICons.FONT_FAMILY);
  52. static const IconData MINE = const IconData(
  53. 0xe670, fontFamily: ICons.FONT_FAMILY);
  54. static const IconData MESSAGE_ACTIVE = const IconData(
  55. 0xe620, fontFamily: ICons.FONT_FAMILY);
  56. static const IconData ADDRESSLIST_ACTIVE = const IconData(
  57. 0xe603, fontFamily: ICons.FONT_FAMILY);
  58. static const IconData DISCOVER_ACTIVE = const IconData(
  59. 0xe600, fontFamily: ICons.FONT_FAMILY);
  60. static const IconData MINE_ACTIVE = const IconData(
  61. 0xe601, fontFamily: ICons.FONT_FAMILY);
  62. static const IconData QR_SCAN = const IconData(
  63. 0xe634, fontFamily: ICons.FONT_FAMILY);
  64. static const IconData GROUP_CHAT = const IconData(
  65. 0xe620, fontFamily: ICons.FONT_FAMILY);
  66. static const IconData ADD_FRIEND = const IconData(
  67. 0xe624, fontFamily: ICons.FONT_FAMILY);
  68. static const IconData PAYMENT = const IconData(
  69. 0xe602, fontFamily: ICons.FONT_FAMILY);
  70. static const IconData HELP = const IconData(
  71. 0xe63b, fontFamily: ICons.FONT_FAMILY);
  72. static const IconData MUTE_ICON = const IconData(
  73. 0xe75e, fontFamily: ICons.FONT_FAMILY);
  74. static const IconData MAC = const IconData(
  75. 0xe673, fontFamily: ICons.FONT_FAMILY);
  76. static const IconData WINDOWS = const IconData(
  77. 0xe64f, fontFamily: ICons.FONT_FAMILY);
  78. static const IconData SEARCH = const IconData(
  79. 0xe63e, fontFamily: ICons.FONT_FAMILY);
  80. static const IconData ADD = const IconData(
  81. 0xe6d3, fontFamily: ICons.FONT_FAMILY);
  82. static const IconData ER_CODE = const IconData(
  83. 0xe646, fontFamily: ICons.FONT_FAMILY);
  84. static const IconData RIGHT = const IconData(
  85. 0xe60b, fontFamily: ICons.FONT_FAMILY);
  86. static const IconData MENUS = const IconData(
  87. 0xe60e, fontFamily: ICons.FONT_FAMILY);
  88. static const IconData FACES = const IconData(
  89. 0xe88f, fontFamily: ICons.FONT_FAMILY);
  90. static const IconData VOICE = const IconData(
  91. 0xe606, fontFamily: ICons.FONT_FAMILY);
  92. }
  93. class Constants{
  94. static const String MENU_MARK_AS_UNREAD = 'MENU_MARK_AS_UNREAD';
  95. static const String MENU_MARK_AS_UNREAD_VALUE = '标为未读';
  96. static const String MENU_PIN_TO_TOP = 'MENU_PIN_TO_TOP';
  97. static const String MENU_PIN_TO_TOP_VALUE = '置顶聊天';
  98. static const String MENU_DELETE_CONVERSATION = 'MENU_DELETE_CONVERSATION';
  99. static const String MENU_DELETE_CONVERSATION_VALUE = '删除该聊天';
  100. static const String MENU_PIN_PA_TO_TOP = 'MENU_PIN_PA_TO_TOP';
  101. static const String MENU_PIN_PA_TO_TOP_VALUE = '置顶公众号';
  102. static const String MENU_UNSUBSCRIBE = 'MENU_UNSUBSCRIBE';
  103. static const String MENU_UNSUBSCRIBE_VALUE = '取消关注';
  104. }
  105. class MessageDetailSelects{
  106. static const String MENU_COPY = 'MENU_COPY';
  107. static const String MENU_COPY_VALUE = '复制';
  108. static const String MENU_SHARE_FRIENDS = 'MENU_SHARE_FRIENDS';
  109. static const String MENU_SHARE_FRIENDS_VALUE = '发送给朋友';
  110. static const String MENU_FAVORIITE = 'MENU_MENU_FAVORIITE';
  111. static const String MENU_FAVORIITE_VALUE = '收藏';
  112. static const String MENU_REMIND = 'MENU_REMIND';
  113. static const String MENU_REMIND_VALUE = '提醒';
  114. static const String MENU_TRANSLATE = 'MENU_TRANSLATE';
  115. static const String MENU_TRANSLATE_VALUE = '翻译';
  116. static const String MENU_DELATE = 'MENU_DELATE';
  117. static const String MENU_DELATE_VALUE = '删除';
  118. static const String MENU_MULTIPE_CHOICE = 'MENU_MULTIPE_CHOICE';
  119. static const String MENU_MULTIPE_CHOICE_VALUE = '多选';
  120. }