Skip to content

Instantly share code, notes, and snippets.

@nparsons08 nparsons08/channels.dart Secret
Created Mar 2, 2020

Embed
What would you like to do?
// mobile/lib/channels.dart:62
tiles.addAll(
snapshot.data
.map((channel) => ListTile(
title: Text(channel),
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (_) => LivestreamChat(account: widget.account, channelId: channel),
),
);
},
))
.toList(),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.