Skip to main content

Overview

The CometChatCallLogDetails is a Widget that displays all the information related to a call. This widget displays information like user/group information, participants of the call, recordings of the call (if available) & history of all the previous calls. Also, it has buttons to start a new call.
Image
You can launch CometChatCallLogDetails directly using Navigator.push, or you can define it as a widget within the build method of your State class.
1. Using Navigator to Launch CometChatCallLogDetails
2. Embedding CometChatCallLogDetails as a Widget in the build Method

Actions

Actions dictate how a widget functions. They are divided into two types: Predefined and User-defined. You can override either type, allowing you to tailor the behavior of the widget to fit your specific needs.
1. OnError
You can customize this behavior by using the provided code snippet to override the OnError and improve error handling.

2. onBack
You can customize this behavior by using the provided code snippet to override the onBack and improve error handling.

Filters

Filters allow you to customize the data displayed in a list within a Widget. You can filter the list based on your specific criteria, allowing for a more customized. Filters can be applied using RequestBuilders of Chat SDK. The CometChatCallLogDetails widget does not have any exposed filters.

Events

Events are emitted by a Widget. By using event you can extend existing functionality. Being global events, they can be applied in Multiple Locations and are capable of being Added or Removed. The CometChatCallLogDetails widget does not have any exposed events.

Customization

To fit your app’s design requirements, you can customize the appearance of the conversation widget. We provide exposed methods that allow you to modify the experience and behavior according to your specific needs.

Style

Using Style you can customize the look and feel of the widget in your app, These parameters typically control elements such as the color, size, shape, and fonts used within the widget.
1. CallLogDetails Style
You can customize the appearance of the CometChatCallLogDetails Widget by applying the CallLogDetailsStyle to it using the following code snippet.
Image
List of properties exposed by CallLogDetailsStyle
2. Avatar Styles
To apply customized styles to the Avatar widget in the CometChatCallLogDetails Widget, you can use the following code snippet. For further insights on Avatar Styles refer

Functionality

These are a set of small functional customizations that allow you to fine-tune the overall experience of the widget. With these, you can change text, set custom icons, and toggle the visibility of UI elements. Example Here is the example for reference:
Image
Below is a list of customizations along with corresponding code snippets

Advanced

For advanced-level customization, you can set custom widgets to the widget. This lets you tailor each aspect of the widget to fit your exact needs and application aesthetics. You can create and define your widgets, layouts, and UI elements and then incorporate those into the widget.

CustomProfile View

You can customize your Profile widget to meet your specific preferences and needs.
Image

Template and Options

1. Options
The CometChatCallLogDetailsOption is the class providing structure for options to be shown.
Option
List of Functionality used to customize the appearance of the CometChatCallLogDetailsOption widget.
2. Template
The CometChatCallLogDetailsTemplate defines the structure for sections of options available in the CometChatCallLogDetails
List of Functionality exposed by CometChatCallLogDetailsTemplate Example Here is the complete example for reference:
Image

Configurations

Configurations offer the ability to customize the properties of each widget within a Composite Widget. CometChatCallLogDetails has Call Log History, Call Log Recordings and Call Log Participants widget. Hence, each of these widgets will have its individual Configuration.
  • Configurations expose properties that are available in its individual widgets.

Call Log History

You can customize the properties of the Call Log History widget by making use of the callLogHistoryConfiguration. You can accomplish this by employing the callLogHistoryConfiguration props as demonstrated below:
Image
All exposed properties of CallLogHistoryConfiguration can be found under Call Log History. Properties marked with the 🛑 symbol are not accessible within the Configuration Object.

Call Log Recordings

You can customize the properties of the Call Log Recordings widget by making use of the callLogRecordingsConfiguration. You can accomplish this by employing the callLogRecordingsConfiguration props as demonstrated below:
Image
All exposed properties of CallLogRecordingsConfiguration can be found under Call Log Recordings. Properties marked with the 🛑 symbol are not accessible within the Configuration Object.

Call Log Participants

You can customize the properties of the Call Log Participants widget by making use of the callLogParticipantsConfiguration. You can accomplish this by employing the callLogParticipantsConfiguration props as demonstrated below:
Image
All exposed properties of CallLogParticipantsConfiguration can be found under Call Log Participants. Properties marked with the 🛑 symbol are not accessible within the Configuration Object.