Last active
August 19, 2019 18:38
-
-
Save adityadroid/4f8867281fde54d982dc75dca4eb34e8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/config/Palette.dart'; | |
| import 'package:messio/pages/ConversationBottomSheet.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(); | |
| const ConversationPage(); | |
| } | |
| class _ConversationPageState extends State<ConversationPage> { | |
| @override | |
| Widget build(BuildContext context) { | |
| return SafeArea( | |
| child: Scaffold( | |
| appBar: ChatAppBar(), // Custom app bar for chat screen | |
| body: Container( | |
| color: Palette.chatBackgroundColor, | |
| child:Stack(children: <Widget>[ | |
| Column( | |
| children: <Widget>[ | |
| ChatListWidget(), | |
| GestureDetector( | |
| child: InputWidget(), | |
| onPanUpdate: (details) { | |
| if (details.delta.dy <0) { | |
| } | |
| }) | |
| ], | |
| ), | |
| ])))); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment