Merge branches 'develop' and 'feat/ui-linter' of https://github.com/GetStream/stream-chat-flutter into feat/ui-linter

 Conflicts:
	packages/stream_chat_flutter/lib/src/message_input.dart
	packages/stream_chat_flutter/pubspec.yaml
This commit is contained in:
Deven Joshi
2021-05-06 14:03:40 +05:30
7 changed files with 36 additions and 9 deletions
+8 -1
View File
@@ -1,6 +1,13 @@
## 2.0.0-nullsafety.1
## 2.0.0-nullsafety.3
- Fix MessageInput overflow when there are no actions
## 2.0.0-nullsafety.2
- Migrate this package to null safety
## 1.5.4
- Updated `stream_chat_core` dependency
## 1.5.3
@@ -476,6 +476,7 @@ class MessageInputState extends State<MessageInput> {
firstChild: IconButton(
onPressed: () => setState(() => _actionsShrunk = false),
icon: Transform.rotate(
alignment: Alignment.center,
angle: (widget.actionsLocation == ActionsLocation.right ||
widget.actionsLocation == ActionsLocation.rightInside)
? pi
@@ -493,8 +494,13 @@ class MessageInputState extends State<MessageInput> {
),
splashRadius: 24,
),
secondChild: FittedBox(
secondChild: widget.disableAttachments &&
!widget.showCommandsButton &&
widget.actions?.isNotEmpty != true
? const Offstage()
: FittedBox(
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
if (!widget.disableAttachments) _buildAttachmentButton(),
+2 -2
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: 2.0.0-nullsafety.1
version: 2.0.0-nullsafety.3
repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
@@ -36,7 +36,7 @@ dependencies:
scrollable_positioned_list: ^0.2.0-nullsafety.0
share_plus: ^2.0.3
shimmer: ^2.0.0
stream_chat_flutter_core: ^2.0.0-nullsafety.0
stream_chat_flutter_core: ^2.0.0-nullsafety.2
substring_highlight: ^1.0.26
synchronized: ^3.0.0
url_launcher: ^6.0.3