Last active
March 10, 2019 15:31
-
-
Save this-is-richard/6445b459fa3b1a713c155e1712d0380d 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
// Inside the build() method of our ChatRoom() widget | |
return Scaffold( | |
backgroundColor: Color(0xFFECE5DD), | |
appBar: AppBar( | |
title: , // <-- we will do the trick here | |
actions: <Widget>[ | |
IconButton( | |
icon: Icon(Icons.videocam), | |
onPressed: () {}, | |
), | |
// ...and 2 other icons | |
], | |
), | |
body: Column( | |
children: <Widget>[ | |
Expanded( | |
child: _chatThreads, | |
), | |
_inputBar, | |
], | |
// closing tags below |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment