feat(ui, core): add remaining v4 list-views

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2022-04-19 12:38:21 +05:30
committed by xsahil03x
parent 2323c59ed4
commit f074bccdc5
20 changed files with 2227 additions and 259 deletions
@@ -115,9 +115,11 @@ class _ChannelListPageState extends State<ChannelListPage> {
Widget _channelPreviewBuilder(
BuildContext context,
Channel channel,
List<Channel> channels,
int index,
StreamChannelListTile defaultTile,
) {
final channel = channels[index];
final lastMessage = channel.state?.messages.reversed.firstWhereOrNull(
(message) => !message.isDeleted,
);