feat: Added new docs and images

This commit is contained in:
Deven Joshi
2021-07-07 16:29:59 +05:30
parent d1d33cbd67
commit 0df84d9d9b
4 changed files with 7 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

@@ -6,6 +6,8 @@ title: MessageInput
A Widget Dealing With Everything Related To Sending A Message
![](../assets/message_input.png)
### Background
In Stream Chat, we can send messages in a channel. However, sending a message isn't as simple as adding
@@ -111,6 +113,8 @@ class _ChannelPageState extends State<ChannelPage> {
}
```
![](../assets/message_input_quoted_message.png)
### Adding Custom Actions
By default, the `MessageInput` has two actions: one for attachments and one for commands like giphy.
@@ -159,4 +163,6 @@ MessageInput(
sendButtonLocation: SendButtonLocation.inside,
actionsLocation: ActionsLocation.right,
),
```
```
![](../assets/message_input_change_position.png)