update dependencies
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
## 0.1.26
|
## 0.1.27
|
||||||
|
|
||||||
- Show other member user's name and image in one to one channels
|
- Show other member user's name and image in one to one channels
|
||||||
|
|
||||||
|
|||||||
+14
-14
@@ -1,3 +1,4 @@
|
|||||||
|
import 'dart:async';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:file_picker/file_picker.dart';
|
import 'package:file_picker/file_picker.dart';
|
||||||
@@ -760,7 +761,7 @@ class _MessageInputState extends State<MessageInput> {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
int _keyboardListener;
|
StreamSubscription _keyboardListener;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
@@ -768,16 +769,8 @@ class _MessageInputState extends State<MessageInput> {
|
|||||||
|
|
||||||
StreamChannel.of(context).queryMembersAndWatchers();
|
StreamChannel.of(context).queryMembersAndWatchers();
|
||||||
|
|
||||||
_keyboardListener = KeyboardVisibilityNotification().addNewListener(
|
_keyboardListener = KeyboardVisibility.onChange.listen((visible) {
|
||||||
onHide: () {
|
if (visible) {
|
||||||
if (_commandsOverlay != null) {
|
|
||||||
_commandsOverlay.remove();
|
|
||||||
}
|
|
||||||
if (_mentionsOverlay != null) {
|
|
||||||
_mentionsOverlay.remove();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onShow: () {
|
|
||||||
if (_commandsOverlay != null) {
|
if (_commandsOverlay != null) {
|
||||||
if (_textController.text.startsWith('/')) {
|
if (_textController.text.startsWith('/')) {
|
||||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||||
@@ -795,8 +788,15 @@ class _MessageInputState extends State<MessageInput> {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
} else {
|
||||||
);
|
if (_commandsOverlay != null) {
|
||||||
|
_commandsOverlay.remove();
|
||||||
|
}
|
||||||
|
if (_mentionsOverlay != null) {
|
||||||
|
_mentionsOverlay.remove();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if (widget.editMessage != null) {
|
if (widget.editMessage != null) {
|
||||||
_textController = TextEditingController(text: widget.editMessage.text);
|
_textController = TextEditingController(text: widget.editMessage.text);
|
||||||
@@ -837,7 +837,7 @@ class _MessageInputState extends State<MessageInput> {
|
|||||||
void dispose() {
|
void dispose() {
|
||||||
_commandsOverlay?.remove();
|
_commandsOverlay?.remove();
|
||||||
_mentionsOverlay?.remove();
|
_mentionsOverlay?.remove();
|
||||||
KeyboardVisibilityNotification().removeListener(_keyboardListener);
|
_keyboardListener.cancel();
|
||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+5
-5
@@ -1,7 +1,7 @@
|
|||||||
name: stream_chat_flutter
|
name: stream_chat_flutter
|
||||||
homepage: https://github.com/GetStream/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.
|
description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.
|
||||||
version: 0.1.26
|
version: 0.1.27
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.3.0 <3.0.0"
|
sdk: ">=2.3.0 <3.0.0"
|
||||||
@@ -9,16 +9,16 @@ environment:
|
|||||||
dependencies:
|
dependencies:
|
||||||
flutter:
|
flutter:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
rxdart: ^0.23.1
|
rxdart: ^0.24.0
|
||||||
jiffy: ^3.0.1
|
jiffy: ^3.0.1
|
||||||
cached_network_image: ^2.1.0+1
|
cached_network_image: ^2.1.0+1
|
||||||
flutter_markdown: ^0.3.4
|
flutter_markdown: ^0.3.5
|
||||||
url_launcher: ^5.4.2
|
url_launcher: ^5.4.2
|
||||||
video_player: ^0.10.8+1
|
video_player: ^0.10.8+1
|
||||||
chewie: ^0.9.10
|
chewie: ^0.9.10
|
||||||
file_picker: ^1.6.2
|
file_picker: ^1.6.3+1
|
||||||
image_picker: ^0.6.5
|
image_picker: ^0.6.5
|
||||||
flutter_keyboard_visibility: ^0.8.0
|
flutter_keyboard_visibility: ^2.0.0
|
||||||
stream_chat: ^0.1.21
|
stream_chat: ^0.1.21
|
||||||
mime: ^0.9.6+3
|
mime: ^0.9.6+3
|
||||||
visibility_detector: ^0.1.4
|
visibility_detector: ^0.1.4
|
||||||
|
|||||||
Reference in New Issue
Block a user