StreamChannelName constructor
StreamChannelName({
- Key? key,
- required Channel channel,
- TextStyle? textStyle,
- TextOverflow textOverflow = TextOverflow.ellipsis,
Instantiate a new ChannelName
Implementation
StreamChannelName({
super.key,
required this.channel,
this.textStyle,
this.textOverflow = TextOverflow.ellipsis,
}) : assert(
channel.state != null,
'Channel ${channel.id} is not initialized',
);