Quick View
CometChat's Quick View component allows you to create a quick overview panel with a title, subtitle, and an optional close button.
Attributes
Properties | Type | Description |
---|---|---|
title | string | The title for the Quick View. |
subtitle | string | The subtitle for the Quick View. |
titleTextStyle | TextStyle | The URL for the close icon. If not provided, a default close icon will be used. |
subtitleTextStyle | TextStyle | A boolean to determine whether to hide the close icon. By default, it is true . |
background | Color | An instance of QuickViewStyle class to style the Quick View. |
Usage
- Dart
CometChatQuickView(title: 'Interactive Message',
subtitle: "Hey how are you",
background: Colors.green,
subtitleTextStyle: TextStyle(color: Colors.red),
)