This commit is contained in:
Salvatore Giordano
2020-04-09 18:01:44 +02:00
parent d6033ec2b6
commit 88ec33d798
16 changed files with 31 additions and 9 deletions
+8 -7
View File
@@ -56,13 +56,14 @@ import 'stream_channel.dart';
/// The widget renders the ui based on the first ancestor of type [StreamChatTheme].
/// Modify it to change the widget appearance.
class MessageInput extends StatefulWidget {
MessageInput(
{Key key,
this.onMessageSent,
this.parentMessage,
this.editMessage,
this.maxHeight = 150})
: super(key: key);
/// Instantiate a new MessageInput
MessageInput({
Key key,
this.onMessageSent,
this.parentMessage,
this.editMessage,
this.maxHeight = 150,
}) : super(key: key);
/// Message to edit
final Message editMessage;