ChannelListHeader constructor

const ChannelListHeader({
  1. Key? key,
  2. StreamChatClient? client,
  3. TitleBuilder? titleBuilder,
  4. dynamic onUserAvatarTap(
    1. User
    )?,
  5. VoidCallback? onNewChatButtonTap,
  6. bool showConnectionStateTile = false,
  7. VoidCallback? preNavigationCallback,
  8. Widget? subtitle,
  9. Widget? leading,
  10. List<Widget>? actions,
  11. Color? backgroundColor,
})

Instantiates a ChannelListHeader

Implementation

const ChannelListHeader({
  Key? key,
  this.client,
  this.titleBuilder,
  this.onUserAvatarTap,
  this.onNewChatButtonTap,
  this.showConnectionStateTile = false,
  this.preNavigationCallback,
  this.subtitle,
  this.leading,
  this.actions,
  this.backgroundColor,
}) : super(key: key);