ChannelHeader constructor
const
ChannelHeader({
- Key? key,
- bool showBackButton = true,
- VoidCallback? onBackPressed,
- VoidCallback? onTitleTap,
- bool showTypingIndicator = true,
- VoidCallback? onImageTap,
- bool showConnectionStateTile = false,
- Widget? title,
- Widget? subtitle,
- Widget? leading,
- List<
Widget> ? actions, - Color? backgroundColor,
Creates a channel header
Implementation
const ChannelHeader({
Key? key,
this.showBackButton = true,
this.onBackPressed,
this.onTitleTap,
this.showTypingIndicator = true,
this.onImageTap,
this.showConnectionStateTile = false,
this.title,
this.subtitle,
this.leading,
this.actions,
this.backgroundColor,
}) : preferredSize = const Size.fromHeight(kToolbarHeight),
super(key: key);