TUITheme class

Constructors

TUITheme({Color? primaryColor = const Color(0xFF00449E), Color? secondaryColor = const Color(0xFF147AFF), Color? infoColor = const Color(0xFFFF9C19), Color? weakBackgroundColor = const Color(0xFFEDEDED), Color? wideBackgroundColor = Colors.white, Color? weakDividerColor = const Color(0xFFE5E6E9), Color? weakTextColor = const Color(0xFF999999), Color? darkTextColor = const Color(0xFF444444), Color? lightPrimaryColor = const Color(0xFF3371CD), Color? textColor, Color? cautionColor = const Color(0xFFFF584C), Color? ownerColor = Colors.orange, Color? adminColor = Colors.blue, Color? white = Colors.white, Color? black = Colors.black, Color? inputFillColor = const Color(0xFFEDEDED), Color? textgrey = const Color(0xFFAEA4A3), Color? selectPanelBgColor = const Color(0xFFF9F9FA), Color? selectPanelTextIconColor = const Color(0xFF37393F), Color? appbarBgColor = const Color(0xFFF2F3F5), Color? appbarTextColor = const Color(0xFF010000), Color? conversationItemBgColor = Colors.white, Color? conversationItemBorderColor = const Color(0xFFE5E6E9), Color? conversationItemActiveBgColor = const Color(0xFFEDEDED), Color? conversationItemPinedBgColor = const Color(0xFFEDEDED), Color? conversationItemTitleTextColor = Colors.black, Color? conversationItemLastMessageTextColor = const Color(0xFF999999), Color? conversationItemTitmeTextColor = const Color(0xFF999999), Color? conversationItemOnlineStatusBgColor = Colors.green, Color? conversationItemOfflineStatusBgColor = Colors.grey, Color? conversationItemUnreadCountBgColor = const Color(0xFFFF584C), Color? conversationItemUnreadCountTextColor = Colors.white, Color? conversationItemDraftTextColor = const Color(0xFFFF584C), Color? conversationItemNoNotificationIconColor = const Color(0xFF999999), Color? conversationItemSliderTextColor = Colors.white, Color? conversationItemSliderClearBgColor = const Color(0xFF00449E), Color? conversationItemSliderPinBgColor = const Color(0xFFFF9C19), Color? conversationItemSliderDeleteBgColor = Colors.red, Color? conversationItemChooseBgColor = const Color(0xFFE7F0FF), Color? chatBgColor, Color? desktopChatMessageInputBgColor, Color? chatTimeDividerTextColor = const Color(0xFF999999), Color? chatHeaderBgColor = const Color(0xFFF2F3F5), Color? chatHeaderTitleTextColor = const Color(0xFF010000), Color? chatHeaderBackTextColor = const Color(0xFF010000), Color? chatHeaderActionTextColor = const Color(0xFF010000), Color? chatMessageItemTextColor = Colors.black, Color? chatMessageItemFromSelfBgColor = const Color(0xFFD1E3FF), Color? chatMessageItemFromOthersBgColor = const Color(0xFFEDEDED), Color? chatMessageItemUnreadStatusTextColor = const Color(0xFF999999), Color? chatMessageTongueBgColor = const Color(0xFFAEA4A3), Color? chatMessageTongueTextColor = const Color(0xFFAEA4A3)})
const
TUITheme.fromJson(Map<String, dynamic> json)

Properties

adminColor Color?
final
appbarBgColor Color?
新版本颜色从这里开始
final
appbarTextColor Color?
Appbar 文字颜色
final
black Color?
final
cautionColor Color?
final
chatBgColor Color?
聊天页背景颜色
final
chatHeaderActionTextColor Color?
聊天页导航栏Action字体颜色
final
chatHeaderBackTextColor Color?
聊天页导航栏Back字体颜色
final
chatHeaderBgColor Color?
聊天页导航栏背景颜色
final
chatHeaderTitleTextColor Color?
聊天页导航栏Title字体颜色
final
chatMessageItemFromOthersBgColor Color?
聊天页历史消息列表来自非自己时背景颜色
final
chatMessageItemFromSelfBgColor Color?
聊天页历史消息列表来自自己时背景颜色
final
chatMessageItemTextColor Color?
聊天页历史消息列表字体颜色
final
chatMessageItemUnreadStatusTextColor Color?
聊天页历史消息列表已读状态字体颜色
final
chatMessageTongueBgColor Color?
聊天页历史消息列表小舌头背景颜色
final
chatMessageTongueTextColor Color?
聊天页历史消息列表小舌头字体颜色
final
chatTimeDividerTextColor Color?
聊天页背景颜色
final
conversationItemActiveBgColor Color?
会话列表选中背景颜色
final
conversationItemBgColor Color?
会话列表背景颜色
final
conversationItemBorderColor Color?
会话列表边框颜色
final
conversationItemChooseBgColor Color?
会话列表宽屏模式选中时背景颜色
final
conversationItemDraftTextColor Color?
会话列表草稿字体颜色
final
conversationItemLastMessageTextColor Color?
会话列表LastMessage字体颜色
final
conversationItemNoNotificationIconColor Color?
会话列表收到消息不提醒Icon颜色
final
conversationItemOfflineStatusBgColor Color?
会话列表用户离线状态背景色
final
conversationItemOnlineStatusBgColor Color?
会话列表用户在线状态背景色
final
conversationItemPinedBgColor Color?
会话列表置顶背景颜色
final
conversationItemSliderClearBgColor Color?
会话列表侧滑按钮Clear背景颜色
final
conversationItemSliderDeleteBgColor Color?
会话列表侧滑按钮Delete背景颜色
final
conversationItemSliderPinBgColor Color?
会话列表侧滑按钮Pin背景颜色
final
conversationItemSliderTextColor Color?
会话列表侧滑按钮字体颜色
final
conversationItemTitleTextColor Color?
会话列表Title字体颜色
final
conversationItemTitmeTextColor Color?
会话列表Time字体颜色
final
conversationItemUnreadCountBgColor Color?
会话列表未读数背景颜色
final
conversationItemUnreadCountTextColor Color?
会话列表未读数字体颜色
final
darkTextColor Color?
final
desktopChatMessageInputBgColor Color?
桌面端消息输入框背景颜色
final
hashCode int
The hash code for this object.
no setterinherited
infoColor Color?
final
inputFillColor Color?
final
lightPrimaryColor Color?
final
lightPrimaryMaterialColor MaterialColor
no setter
ownerColor Color?
final
primaryColor Color?
final
primaryMaterialColor MaterialColor
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryColor Color?
final
selectPanelBgColor Color?
消息列表多选面板背景颜色
final
selectPanelTextIconColor Color?
消息列表多选面板文字及icon颜色
final
textColor Color?
final
textgrey Color?
final
weakBackgroundColor Color?
final
weakDividerColor Color?
final
weakTextColor Color?
final
white Color?
final
wideBackgroundColor Color?
final

Methods

createMaterialColor(Color color) MaterialColor
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

dark → const TUITheme
light → const TUITheme