getDeleteOption method

CometChatMessageOption getDeleteOption(
  1. BuildContext context
)

Implementation

CometChatMessageOption getDeleteOption(BuildContext context) {
  return CometChatMessageOption(
      id: MessageOptionConstants.deleteMessage,
      title: Translations.of(context).delete,
      icon: AssetConstants.delete,
      titleStyle: const TextStyle(
        color: AppTheme.problem,
        fontSize: 16,
        letterSpacing: 0,
        fontWeight: FontWeight.w500,
      ),
      iconTint: AppTheme.problem,
      packageName: UIConstants.packageName);
}