CometChatDetailsTemplate constructor
const
CometChatDetailsTemplate({
- required String id,
- List<
CometChatDetailsOption> options(- User? user,
- Group? group,
- BuildContext? context,
- CometChatTheme? theme,
- String? title,
- TextStyle? titleStyle,
- Color? sectionSeparatorColor,
- bool? hideSectionSeparator,
- Color? itemSeparatorColor,
- bool? hideItemSeparator,
CometChatDetailsTemplate constructor requires id
and options
while initializing.
Implementation
const CometChatDetailsTemplate(
{required this.id,
this.options,
this.title,
this.titleStyle,
this.sectionSeparatorColor,
this.hideSectionSeparator,
this.itemSeparatorColor,
this.hideItemSeparator});