StreamChannelInfoBottomSheet constructor

StreamChannelInfoBottomSheet({
  1. Key? key,
  2. required Channel channel,
  3. void onMemberTap(
    1. Member
    )?,
  4. VoidCallback? onViewInfoTap,
  5. VoidCallback? onLeaveChannelTap,
  6. VoidCallback? onDeleteConversationTap,
  7. 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',
      );