ChannelLastMessageText constructor

ChannelLastMessageText({
  1. Key? key,
  2. required Channel channel,
  3. TextStyle? textStyle,
})

Creates a new instance of ChannelLastMessageText widget.

Implementation

ChannelLastMessageText({
  super.key,
  required this.channel,
  this.textStyle,
}) : assert(
        channel.state != null,
        'Channel ${channel.id} is not initialized',
      );