MessageHeaderConfiguration constructor

const MessageHeaderConfiguration({
  1. WidgetBuilder? backButton,
  2. Widget? subtitleView(
    1. Group? group,
    2. User? user,
    3. BuildContext context
    )?,
  3. Widget listItemView(
    1. Group? group,
    2. User? user,
    3. BuildContext context
    )?,
  4. bool? disableUserPresence,
  5. Widget? protectedGroupIcon,
  6. Widget? privateGroupIcon,
  7. MessageHeaderStyle? messageHeaderStyle,
  8. Widget? chatMessagesHeader({
    1. String? avatarUrl,
    2. String? groupRef,
    3. bool? isGroup,
    4. bool? isTyping,
    5. bool? online,
    6. String? subtitle,
    7. required String title,
    8. bool? userIsNotBlocked,
    })?,
  9. bool? hideBackButton,
  10. CometChatTheme? theme,
  11. AvatarStyle? avatarStyle,
  12. ListItemStyle? listItemStyle,
  13. StatusIndicatorStyle? statusIndicatorStyle,
  14. List<Widget>? appBarOptions(
    1. User? user,
    2. Group? group,
    3. BuildContext context
    )?,
  15. VoidCallback? onBack,
})

Implementation

const MessageHeaderConfiguration(
    {this.backButton,
    this.subtitleView,
    this.listItemView,
    this.disableUserPresence,
    this.protectedGroupIcon,
    this.privateGroupIcon,
    this.messageHeaderStyle,
    this.chatMessagesHeader,
    this.hideBackButton,
    this.theme,
    this.avatarStyle,
    this.listItemStyle,
    this.statusIndicatorStyle,
    this.appBarOptions,
    this.onBack});