CometChatStatusIndicator
is a component which indicates whether user is online or offline. You can customize the border
and background color
of this component.
CometChatStatusIndicator
is a stateless widget, it can be added directly in the build method. CometChatStatusIndicator
includes various parameters to customize its UI.
Parameters | Type | Description |
---|---|---|
backgroundImage | Widget | used to set the icon in status indicator |
backgroundColor | Color | used to set the background color of the status indicator |
style | StatusIndicatorStyle | used to set border of custom style |
Parameters | Type | Description |
---|---|---|
borderRadius | double | used to set the border radius |
height | double | used to set the height |
width | double | used to set width |
border | BoxBorder | used to set border of status indicator |
gradient | Gradient | used to set a gradient background |