CometChatCallLogRecordings
is a Widget that shows a paginated list of all the calls between the logged-in user & another user or group. This allows the user to see all the calls with a specific user/group they have initiated/received/missed.
CometChatCallLogRecordings
widget is composed of the following BaseWidgets:
Widgets | Description |
---|---|
CometChatListBase | CometChatListBase is a container widget featuring a title, customizable background options, and a dedicated list widget for seamless integration within your application’s interface. |
CometChatListItem | This widget displays data retrieved from a CallLog object on a card, presenting a title and subtitle. |
CometChatCallLogRecordings
is a Widget, it can be seamlessly presented within your application. To display the details of a CallLog, you simply need to pass the corresponding CallLog object to the CometChatCallLogRecordings
instance using its setCallLog property. This enables you to efficiently showcase specific call log details within your application’s interface.
You can launch CometChatCallLogRecordings
directly using Navigator.push
, or you can define it as a widget within the build
method of your State
class.
CometChatCallLogRecordings
CometChatCallLogRecordings
as a Widget in the build MethodonDownloadClick
and improve error handling.
onBack
and improve error handling.
onError
and improve error handling.
CometChatCallLogRecordings
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 CometChatCallLogHistory
widget does not have any exposed events.
CallLogHistoryStyle
Widget by applying the CallLogHistoryStyle
to it using the following code snippet.
CallLogHistoryStyle
Property | Description | Code |
---|---|---|
width | The width of the call log recordings style. | double? width |
height | The height of the call log recordings style. | double? height |
background | The background color. | Color? background |
border | The border of the call log recordings style. | BoxBorder? border |
borderRadius | The border radius. | double? borderRadius |
gradient | The gradient for the background. | Gradient? gradient |
titleStyle | The text style for the title. | TextStyle? titleStyle |
dividerTint | The tint color for dividers. | Color? dividerTint |
emptyTextStyle | The text style for the empty state. | TextStyle? emptyTextStyle |
backIconTint | The tint color for the back icon. | Color? backIconTint |
tailTitleStyle | The text style for the tail title. | TextStyle? tailTitleStyle |
recordingTitleStyle | The text style for the recording title. | TextStyle? recordingTitleStyle |
durationTextStyle | The text style for the duration. | TextStyle? durationTextStyle |
downLoadIconTint | The tint color for the download icon. | Color? downLoadIconTint |
CometChatCallLogHistory
Property | Description | Code |
---|---|---|
title | The title of the call log recordings. | String? title |
backButton | The back button widget. | Widget? backButton |
showBackButton | Indicates whether to show the back button. | bool? showBackButton |
emptyStateText | The text to display when there are no recordings. | String? emptyStateText |
theme | The theme for the widget. | CometChatTheme? theme |
datePattern | The pattern for displaying dates. | String? datePattern |
hideSeparator | Indicates whether to hide separators. | bool hideSeparator |
downloadIconUrl | The URL for the download icon. | String? downloadIconUrl |
CometChatCallLogRecordings
Widget.
CometChatCallLogRecordings
widget. You can add a Tail widget using the following method.
EmptyStateView
using emptyStateView
to match the empty UI of your app.