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.
CometChatCallLogDetails
directly using Navigator.push
, or you can define it as a widget within the build
method of your State
class.
CometChatCallLogDetails
CometChatCallLogDetails
as a Widget in the build MethodOnError
and improve error handling.
onBack
and improve error handling.
CometChatCallLogDetails
widget does not have any exposed filters.
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.
CometChatCallLogDetails
Widget by applying the CallLogDetailsStyle
to it using the following code snippet.
CallLogDetailsStyle
Property | Description | Code |
---|---|---|
Arrow Icon Tint | Sets the color for the arrow icon. | arrowIconTint: Color? |
Background | Sets the background color. | background: Color? |
Back Icon Tint | Sets the color for the back icon. | backIconTint: Color? |
Border | Sets the border. | border: BoxBorder? |
Call Status Style | Sets the style for the call status text. | callStatusStyle: TextStyle? |
Count Style | Sets the style for the count text. | countStyle: TextStyle? |
Duration Style | Sets the style for the duration text. | durationStyle: TextStyle? |
Gradient | Sets the background gradient. | gradient: Gradient? |
Height | Sets the height of the widget. | height: double? |
Name Style | Sets the style for the name text. | nameStyle: TextStyle? |
Separator Date Style | Sets the style for the separator date text. | separatorDateStyle: TextStyle? |
Time Style | Sets the style for the time text. | timeStyle: TextStyle? |
Title Style | Sets the style for the title text. | titleStyle: TextStyle? |
Video Call Icon Tint | Sets the color for the video call icon. | videoCallIconTint: Color? |
Voice Call Icon Tint | Sets the color for the voice call icon. | voiceCallIconTint: Color? |
Width | Sets the width of the widget. | width: double? |
Avatar
widget in the CometChatCallLogDetails
Widget, you can use the following code snippet. For further insights on Avatar
Styles refer
Property | Description | Code |
---|---|---|
Arrow Icon | Sets the arrow icon. | arrowIcon: Widget? |
Back Button | Sets the back button widget. | backButton: Widget? |
Date Pattern | Sets the date pattern. | datePattern: String? |
Separator Date Pattern | Sets the separator date pattern. | separatorDatePattern: String? |
Show Back Button | Determines whether to show the back button. | showBackButton: bool |
Theme | Sets the theme. | theme: ThemeData? |
Title | Sets the title. | title: String? |
CometChatCallLogDetailsOption
is the class providing structure for options to be shown.
CometChatCallLogDetailsOption
widget.
Property | Description | Code |
---|---|---|
Custom View | Sets a custom view widget. | customView: Widget? |
On Click | Callback function to be executed on click. | onClick: void Function()? |
Tail | Sets the tail widget. | tail: Widget? |
ID | Unique identifier for the option. | id: String |
Height | Sets the height of the option. | height: double? |
Title | Sets the title text. | title: String? |
Icon | Sets the icon URL. | icon: String? |
Package Name | Sets the package name for the icon. | packageName: String? |
Title Style | Sets the text style for the title. | titleStyle: TextStyle? |
CometChatCallLogDetailsTemplate
defines the structure for sections of options available in the CometChatCallLogDetails
CometChatCallLogDetailsTemplate
Property | Description | Code |
---|---|---|
ID | Unique identifier for the template. | id: String |
Options | List of options available in the template. | options: List<CometChatCallLogDetailsOption>? |
Title | Title text for the template. | title: String? |
Title Style | Text style for the title. | titleStyle: TextStyle? |
Section Separator Color | Color for the section separator. | sectionSeparatorColor: Color? |
Hide Section Separator | Flag to hide the section separator. | hideSectionSeparator: bool? |
Item Separator Color | Color for the item separator. | itemSeparatorColor: Color? |
Hide Item Separator | Flag to hide the item separator. | hideItemSeparator: bool? |
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.callLogHistoryConfiguration
. You can accomplish this by employing the callLogHistoryConfiguration
props as demonstrated below:
CallLogHistoryConfiguration
can be found under Call Log History. Properties marked with the 🛑 symbol are not accessible within the Configuration Object.
callLogRecordingsConfiguration
. You can accomplish this by employing the callLogRecordingsConfiguration
props as demonstrated below:
CallLogRecordingsConfiguration
can be found under Call Log Recordings. Properties marked with the 🛑 symbol are not accessible within the Configuration Object.
callLogParticipantsConfiguration
. You can accomplish this by employing the callLogParticipantsConfiguration
props as demonstrated below:
CallLogParticipantsConfiguration
can be found under Call Log Participants. Properties marked with the 🛑 symbol are not accessible within the Configuration Object.