Last active
March 11, 2019 04:50
-
-
Save this-is-richard/8394f6caaedb8cccdb0221a6ddba4024 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ChatRoom extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
backgroundColor: Color(0xFFECE5DD), | |
appBar: AppBar(...), // Title text, action buttons on the right | |
body: Column( | |
children: <Widget>[ | |
Expanded( | |
child: ListView(...), // chat threads | |
), | |
Row(...), // input field + send button | |
], | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment