CometChatFileBubble
is the content view for a MediaMessage if the media sent is a file.
Properties | Type | Description |
---|---|---|
fileUrl | String | the path of the image to display |
fileMimeType | String | the mime type of the file |
id | int | id to make file name unique |
title | String | a text to display as name of the file |
subtitle | String | a text to display below the name of the file |
downloadIcon | Icon | customize the icon to display to download the file |
style | FileBubbleStyle | used to customize appearance of this widget |
theme | CometChatTheme | used to set custom theme |
Properties | Type | Description |
---|---|---|
titleStyle | TextStyle | used to set style of the name of the file |
subtitleStyle | TextStyle | used to set style of the text below the name of the file |
downloadIconTint | Color | used to provide color to the download icon |
height | double | used to set height |
width | double | used to set width |
background | Color | used to set background color |
gradient | Gradient | used to set a gradient background |
border | BoxBorder | used to set border |
borderRadius | double | used to set border radius |