feat: Added message input theme and send button animation duration

This commit is contained in:
Deven Joshi
2021-02-25 14:05:08 +05:30
parent 0e89971b35
commit 949e83c6a9
2 changed files with 34 additions and 1 deletions
@@ -392,7 +392,8 @@ class MessageInputState extends State<MessageInput> {
: CrossFadeState.showSecond,
firstChild: _buildSendButton(context),
secondChild: _buildIdleSendButton(context),
duration: Duration(milliseconds: 300),
duration:
StreamChatTheme.of(context).messageInputTheme.sendAnimationDuration,
alignment: Alignment.center,
),
);