cometchat-flutter-v5-conversations — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited cometchat-flutter-v5-conversations (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Ground truth:cometchat_chat_uikit: ^5.2(legacy/maintenance-only; calls via rawcometchat_calls_sdk ^5.0.2) — pub-cache source +ui-kit/flutter/v5. Official docs: https://www.cometchat.com/docs/ui-kit/flutter/v5/overview · Docs MCP:claude mcp add --transport http cometchat-docs https://www.cometchat.com/docs/mcp(or fetch the URL directly without MCP). Verify symbols against the installed package/source before relying on them.
The CometChatConversations component displays a list of recent conversations.
| Prop | Type | Default | Description |
|---|---|---|---|
conversationsRequestBuilder | ConversationsRequestBuilder? | — | Custom fetch builder |
conversationsStyle | CometChatConversationsStyle | const CometChatConversationsStyle() | Visual styling |
onItemTap | Function(Conversation)? | — | Tap callback (no BuildContext) |
onItemLongPress | Function(Conversation)? | — | Long press callback |
subtitleView | Widget? Function(BuildContext, Conversation)? | — | Custom subtitle |
listItemView | Widget Function(Conversation)? | — | Custom list item (replaces the whole row) |
leadingView | Widget? Function(BuildContext, Conversation)? | — | Custom leading widget (avatar slot) |
titleView | Widget? Function(BuildContext, Conversation)? | — | Custom title widget |
trailingView | Widget? Function(Conversation)? | — | Custom trailing widget (single-arg — asymmetric with the other slots) |
title | String? | — | List title |
showBackButton | bool | false | Show back button |
onBack | VoidCallback? | — | Back button callback |
hideAppbar | bool? | false | Hide app bar |
appBarOptions | List<Widget>? | — | App bar trailing widgets |
usersStatusVisibility | bool? | true | Show online status |
receiptsVisibility | bool? | true | Show read receipts |
textFormatters | List<CometChatTextFormatter>? | — | Text formatters for subtitles |
controllerTag | String? | — | Custom GetX controller tag |
hideSearch | bool? | — | Hide search bar |
searchReadOnly | bool | false | Read-only search |
onSearchTap | GestureTapCallback? | — | Search tap callback |
deleteConversationOptionVisibility | bool? | true | Show delete option |
loadingStateView | WidgetBuilder? | — | Custom loading state |
emptyStateView | WidgetBuilder? | — | Custom empty state |
errorStateView | WidgetBuilder? | — | Custom error state |
setOptions | Function? | — | Replace long-press options |
addOptions | Function? | — | Add to long-press options |
CometChatConversations(
onItemTap: (conversation) {
User? user;
Group? group;
if (conversation.conversationWith is User) {
user = conversation.conversationWith as User;
} else {
group = conversation.conversationWith as Group;
}
Navigator.push(context, MaterialPageRoute(
builder: (_) => MessagesScreen(user: user, group: group),
));
},
)CometChatConversations(
conversationsRequestBuilder: ConversationsRequestBuilder()
..limit = 30
..conversationType = ConversationType.user,
)The component creates CometChatConversationsController via Get.put() in initState() and deletes it in dispose() (unless controllerTag is provided externally).
Theme values are cached in didChangeDependencies() (unconditionally, no flag):
@override
void didChangeDependencies() {
typography = CometChatThemeHelper.getTypography(context);
colorPalette = CometChatThemeHelper.getColorPalette(context);
spacing = CometChatThemeHelper.getSpacing(context);
style = CometChatThemeHelper.getTheme<CometChatConversationsStyle>(
context: context, defaultTheme: CometChatConversationsStyle.of)
.merge(widget.conversationsStyle);
super.didChangeDependencies();
}// ❌ WRONG — trying to access controller before component mounts
final controller = Get.find<CometChatConversationsController>();
// ❌ WRONG — manually creating controller outside the widget
Get.put(CometChatConversationsController(...));
// ❌ WRONG — not extracting User/Group from conversation
onItemTap: (conversation) {
Navigator.push(context, MaterialPageRoute(
builder: (_) => MessagesScreen(user: conversation.conversationWith), // Type error
));
}onItemTap extracts User/Group from conversation.conversationWith with type checkuser or group~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.