Skip to content

Instantly share code, notes, and snippets.

@adityadroid
Created August 15, 2019 19:26
Show Gist options
  • Save adityadroid/d485b899c995ee02f7ecc0603d471d50 to your computer and use it in GitHub Desktop.
Save adityadroid/d485b899c995ee02f7ecc0603d471d50 to your computer and use it in GitHub Desktop.
conversation page ui
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