Skip to content

Instantly share code, notes, and snippets.

@munificent
Created March 14, 2019 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save munificent/f7f1c49ff40ecaa31ebd3c1889a86e21 to your computer and use it in GitHub Desktop.
Save munificent/f7f1c49ff40ecaa31ebd3c1889a86e21 to your computer and use it in GitHub Desktop.
Widget build(BuildContext context) {
var conversation = buildTab2Conversation();
var listItems = [Tab2Header()];
listItems.addAll(conversation);
listItems.add(buildFooter());
return CupertinoPageScaffold(
child: ListView(children: conversation),
);
}
@leonsenft
Copy link

Based on the intent of https://gist.github.com/munificent/89b80c304433516069748f62c52c0d09#file-snippet11-dart, it looks like on line 8 you meant to pass in listItems instead of conversation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment