Skip to content

Instantly share code, notes, and snippets.

@nparsons08 nparsons08/chat.dart Secret

Created Mar 2, 2020
Embed
What would you like to do?
// mobile/lib/chat.dart:129
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Chat with ${widget.user}"),
),
body: Builder(
builder: (context) {
if (_messages == null) {
return Center(child: CircularProgressIndicator());
}
return Column(
children: [
buildMessages(_messages),
buildInput(context),
],
);
},
),
);
}
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.