CometChatDetailsTemplate constructor

const CometChatDetailsTemplate({
  1. required String id,
  2. List<CometChatDetailsOption> options(
    1. User? user,
    2. Group? group,
    3. BuildContext? context,
    4. CometChatTheme? theme,
    )?,
  3. String? title,
  4. TextStyle? titleStyle,
  5. Color? sectionSeparatorColor,
  6. bool? hideSectionSeparator,
  7. Color? itemSeparatorColor,
  8. 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});