feat : ChannelListHeader

This commit is contained in:
xsahil03x
2020-11-23 16:36:50 +05:30
parent 0a9652f1ac
commit 525991f24b
6 changed files with 165 additions and 13 deletions
+1 -7
View File
@@ -69,13 +69,7 @@ class ChannelListPage extends StatelessWidget {
Widget build(BuildContext context) {
final user = StreamChat.of(context).user;
return Scaffold(
appBar: AppBar(
backgroundColor: Colors.white,
title: Text(
'Stream Chat',
style: TextStyle(color: Colors.black),
),
),
appBar: ChannelListHeader(),
drawer: _buildDrawer(context, user),
drawerEdgeDragWidth: 50,
body: ChannelsBloc(