bump version

This commit is contained in:
Salvatore Giordano
2020-04-02 11:39:15 +02:00
parent 7f24650af9
commit 4eeb3dfc43
3 changed files with 36 additions and 17 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
## 0.1.13
## 0.1.14
- Add automatic keep alive to streamchat
+34 -15
View File
@@ -28,29 +28,48 @@ class MyApp extends StatelessWidget {
brightness: Brightness.light,
),
),
home: StreamChat(
client: client,
child: ChannelListPage(),
),
home: ChannelListPage(client: client),
);
}
}
class ChannelListPage extends StatelessWidget {
final Client client;
ChannelListPage({this.client});
@override
Widget build(BuildContext context) {
return Scaffold(
body: ChannelListView(
filter: {
'members': {
'\$in': [StreamChat.of(context).user.id],
}
},
sort: [SortOption('last_message_at')],
pagination: PaginationParams(
limit: 20,
),
channelWidget: ChannelPage(),
body: PageView(
children: <Widget>[
StreamChat(
client: client,
child: Builder(
builder: (context) => ChannelListView(
filter: {
'members': {
'\$in': [StreamChat.of(context).user.id],
}
},
sort: [SortOption('last_message_at')],
pagination: PaginationParams(
limit: 20,
),
channelWidget: ChannelPage(),
),
),
),
StreamChat(
client: client,
child: ChannelListView(
sort: [SortOption('last_message_at')],
pagination: PaginationParams(
limit: 20,
),
channelWidget: ChannelPage(),
),
),
],
),
);
}
+1 -1
View File
@@ -1,7 +1,7 @@
name: stream_chat_flutter
homepage: https://github.com/GetStream/stream-chat-flutter
description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.
version: 0.1.13
version: 0.1.14
environment:
sdk: ">=2.3.0 <3.0.0"