feat: Added new docs and images
This commit is contained in:
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
|
A Widget Dealing With Everything Related To Sending A Message
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Background
|
### Background
|
||||||
|
|
||||||
In Stream Chat, we can send messages in a channel. However, sending a message isn't as simple as adding
|
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> {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Adding Custom Actions
|
### Adding Custom Actions
|
||||||
|
|
||||||
By default, the `MessageInput` has two actions: one for attachments and one for commands like giphy.
|
By default, the `MessageInput` has two actions: one for attachments and one for commands like giphy.
|
||||||
@@ -159,4 +163,6 @@ MessageInput(
|
|||||||
sendButtonLocation: SendButtonLocation.inside,
|
sendButtonLocation: SendButtonLocation.inside,
|
||||||
actionsLocation: ActionsLocation.right,
|
actionsLocation: ActionsLocation.right,
|
||||||
),
|
),
|
||||||
```
|
```
|
||||||
|
|
||||||
|

|
||||||
Reference in New Issue
Block a user