MessageListHeader
A clean, decoupled UI element that doesn't rely on ViewModels or our custom architecture setup. This allows the user to fully govern how the MessageListHeader behaves, by passing in all the data that's required to display it and drive its actions, as well as customize the slot APIs.
Parameters
Channel info to display.
The current user, required for different UI states.
The state of WS connection used to switch between the subtitle and the network loading view.
Modifier for styling.
The list of typing users.
The current message mode, that changes the header content, if we're in a Thread.
The color of the header.
The shape of the header.
The elevation of the header.
Handler that propagates the back button click event.
Action handler when the user taps on the header title section.
Action handler called when the user taps on the channel avatar.
The content shown at the start of the header, by default a BackButton.
The content shown in the middle of the header and represents the core information, by default DefaultMessageListHeaderCenterContent.
The content shown at the end of the header, by default a ChannelAvatar.