CometChatMessageOption constructor
CometChatMessageOption({
- required String id,
- required String title,
- String? icon,
- dynamic onClick(
- BaseMessage message,
- CometChatMessageListControllerProtocol state
- String? packageName,
- Color? iconTint,
- TextStyle? titleStyle,
CometChatMessageOption constructor requires id and title while initializing.
Implementation
CometChatMessageOption(
{required this.id,
required this.title,
this.icon,
this.onClick,
this.packageName,
this.iconTint,
this.titleStyle});