Skip to main content

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

PropertiesTypeDescription
titlestringThe title for the Quick View.
subtitlestringThe subtitle for the Quick View.
titleTextStyleTextStyleThe URL for the close icon. If not provided, a default close icon will be used.
subtitleTextStyleTextStyleA boolean to determine whether to hide the close icon. By default, it is true.
backgroundColorAn instance of QuickViewStyle class to style the Quick View.

Usage

CometChatQuickView(title: 'Interactive Message',
subtitle: "Hey how are you",
background: Colors.green,
subtitleTextStyle: TextStyle(color: Colors.red),
)