getDefaultOptions static method
List<CometChatOption> ?
getDefaultOptions(
- Conversation conversation,
- CometChatConversationsControllerProtocol controller,
- BuildContext context,
- CometChatTheme? theme,
Implementation
static List<CometChatOption>? getDefaultOptions(
Conversation conversation,
CometChatConversationsControllerProtocol controller,
BuildContext context,
CometChatTheme? theme) {
return [
CometChatOption(
id: ConversationOptionConstants.delete,
icon: AssetConstants.delete,
packageName: UIConstants.packageName,
backgroundColor: AppTheme.problem,
onClick: () {
controller.deleteConversation(conversation);
})
];
}