mirror of
https://github.com/Iconica-Development/flutter_chat.git
synced 2025-05-19 02:43:50 +02:00
fix: set padding for message inputfield to the chatSidePadding
This commit is contained in:
parent
49a041ef12
commit
d5a225a51a
1 changed files with 4 additions and 1 deletions
|
@ -154,7 +154,10 @@ class ChatBottomInputSection extends HookWidget {
|
||||||
);
|
);
|
||||||
|
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 16),
|
padding: EdgeInsets.symmetric(
|
||||||
|
horizontal: options.spacing.chatSidePadding,
|
||||||
|
vertical: 16,
|
||||||
|
),
|
||||||
child: ConstrainedBox(
|
child: ConstrainedBox(
|
||||||
constraints: const BoxConstraints(maxHeight: 120, minHeight: 45),
|
constraints: const BoxConstraints(maxHeight: 120, minHeight: 45),
|
||||||
child: options.builders.messageInputBuilder?.call(
|
child: options.builders.messageInputBuilder?.call(
|
||||||
|
|
Loading…
Reference in a new issue