StreamChannelInfoBottomSheet constructor
StreamChannelInfoBottomSheet({
- Key? key,
- required Channel channel,
- void onMemberTap()?,
- VoidCallback? onViewInfoTap,
- VoidCallback? onLeaveChannelTap,
- VoidCallback? onDeleteConversationTap,
- VoidCallback? onCancelTap,
Creates a new instance StreamChannelInfoBottomSheet widget.
Implementation
StreamChannelInfoBottomSheet({
super.key,
required this.channel,
this.onMemberTap,
this.onViewInfoTap,
this.onLeaveChannelTap,
this.onDeleteConversationTap,
this.onCancelTap,
}) : assert(
channel.state != null,
'Channel ${channel.id} is not initialized',
);