Skip to main content
FieldValue
Packagecometchat_chat_uikit
Key componentsCometChatCallLogs, CometChatCallLogDetails
InitCometChatUIKit.init(uiKitSettings) then CometChatUIKit.login(uid)
Entry pointCalls tab → CometChatCallLogs → tap item → CometChatCallLogDetails
Sample appGitHub
RelatedAll Guides
Call Log Details provides a dedicated Calls tab where users can view recent audio and video calls and inspect detailed information for each call. Before starting, complete the Getting Started guide.

Components

Component / ClassRole
CometChatCallLogsDisplays the list of recent calls with tap callbacks
CometChatCallLogDetailsShows detailed information (participants, duration, type)
CallLogCall log data model from SDK

Integration Steps

1. Add Calls Tab

Integrate the Calls tab into your main dashboard using CometChatCallLogs. File: dashboard.dart
CometChatCallLogs(
  onItemClick: (callLog) {
    Navigator.push(
      context,
      MaterialPageRoute(
        builder: (context) => CometChatCallLogDetails(callLog: callLog),
      ),
    );
  },
)

2. Display Call Logs

Use CometChatCallLogs to fetch and show recent calls with customizable styling. File: dashboard.dart
CometChatCallLogs(
  onItemClick: (callLog) {
    // Navigate to details screen
  },
  callLogsStyle: CometChatCallLogsStyle(
    backgroundColor: colorPalette.background1,
  ),
)

3. Show Call Log Details

Present detailed information when a call log is tapped. File: cometchat_call_log_details.dart
CometChatCallLogDetails(
  callLog: callLog,
)

Feature Matrix

FeatureComponent / MethodFile
Calls tabCometChatCallLogsdashboard.dart
Display call logsCometChatCallLogsdashboard.dart
Call detailsCometChatCallLogDetailscometchat_call_log_details.dart

Next Steps