Created
August 19, 2019 18:18
-
-
Save adityadroid/d04a4e33ae9c2959936167e9e7f47b94 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/config/Styles.dart'; | |
| import 'package:messio/widgets/ChatRowWidget.dart'; | |
| import 'package:messio/widgets/NavigationPillWidget.dart'; | |
| class ConversationBottomSheet extends StatefulWidget { | |
| @override | |
| _ConversationBottomSheetState createState() => | |
| _ConversationBottomSheetState(); | |
| const ConversationBottomSheet(); | |
| } | |
| class _ConversationBottomSheetState extends State<ConversationBottomSheet> { | |
| @override | |
| Widget build(BuildContext context) { | |
| return Material( | |
| child: Scaffold( | |
| backgroundColor: Colors.white, | |
| body: ListView(children: <Widget>[ | |
| NavigationPillWidget(), | |
| Center(child: Text('Messages', style: Styles.textHeading)), | |
| SizedBox( | |
| height: 20, | |
| ), | |
| ListView.separated( | |
| shrinkWrap: true, | |
| physics: ClampingScrollPhysics(), | |
| itemCount: 5, | |
| separatorBuilder: (context, index) => Padding( | |
| padding: EdgeInsets.only(left: 75,right: 20), | |
| child: Divider( | |
| color: Palette.accentColor, | |
| )), | |
| itemBuilder: (context, index) { | |
| return ChatRowWidget(); | |
| }, | |
| ) | |
| ]))); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment