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. bool? hideBackButton,
  9. CometChatTheme? theme,
  10. AvatarStyle? avatarStyle,
  11. ListItemStyle? listItemStyle,
  12. StatusIndicatorStyle? statusIndicatorStyle,
  13. List<Widget>? appBarOptions(
    1. User? user,
    2. Group? group,
    3. BuildContext context
    )?,
  14. VoidCallback? onBack,
})

Implementation

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