Created
August 15, 2019 19:26
-
-
Save adityadroid/d485b899c995ee02f7ecc0603d471d50 to your computer and use it in GitHub Desktop.
conversation page ui
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
import 'package:flutter/material.dart'; | |
import 'package:messio/widgets/ChatAppBar.dart'; | |
import 'package:messio/widgets/ChatListWidget.dart'; | |
import 'package:messio/widgets/InputWidget.dart'; | |
class ConversationPage extends StatefulWidget { | |
@override | |
_ConversationPageState createState() => _ConversationPageState(); | |
} | |
class _ConversationPageState extends State<ConversationPage> { | |
@override | |
Widget build(BuildContext context) { | |
return SafeArea( | |
child: Scaffold( | |
appBar: ChatAppBar(), // Custom app bar for chat screen | |
body: Stack(children: <Widget>[ | |
Column( | |
children: <Widget>[ | |
ChatListWidget(),//Chat list | |
InputWidget() // The input widget | |
], | |
), | |
] | |
) | |
) | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment