mirror of
https://github.com/Iconica-Development/flutter_chat.git
synced 2025-05-18 18:33:49 +02:00
fix(message-send-buttons): move slightly to better match design
This commit is contained in:
parent
d2f000c8a7
commit
02ae2aa884
1 changed files with 28 additions and 25 deletions
|
@ -63,34 +63,37 @@ class ChatBottomInputSection extends HookWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Image and send buttons
|
/// Image and send buttons
|
||||||
var messageSendButtons = SizedBox(
|
var messageSendButtons = Padding(
|
||||||
height: 45,
|
padding: const EdgeInsets.only(right: 6.0),
|
||||||
child: Row(
|
child: SizedBox(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
height: 48,
|
||||||
mainAxisSize: MainAxisSize.min,
|
child: Row(
|
||||||
children: [
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
CustomSemantics(
|
mainAxisSize: MainAxisSize.min,
|
||||||
identifier: options.semantics.chatSelectImageIconButton,
|
children: [
|
||||||
child: IconButton(
|
CustomSemantics(
|
||||||
alignment: Alignment.bottomRight,
|
identifier: options.semantics.chatSelectImageIconButton,
|
||||||
onPressed: isLoading ? null : onPressSelectImage,
|
child: IconButton(
|
||||||
icon: Icon(
|
alignment: Alignment.bottomRight,
|
||||||
Icons.image_outlined,
|
onPressed: isLoading ? null : onPressSelectImage,
|
||||||
color: options.iconEnabledColor,
|
icon: Icon(
|
||||||
|
Icons.image_outlined,
|
||||||
|
color: options.iconEnabledColor,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
CustomSemantics(
|
||||||
CustomSemantics(
|
identifier: options.semantics.chatSendMessageIconButton,
|
||||||
identifier: options.semantics.chatSendMessageIconButton,
|
child: IconButton(
|
||||||
child: IconButton(
|
alignment: Alignment.bottomRight,
|
||||||
alignment: Alignment.bottomRight,
|
disabledColor: options.iconDisabledColor,
|
||||||
disabledColor: options.iconDisabledColor,
|
color: options.iconEnabledColor,
|
||||||
color: options.iconEnabledColor,
|
onPressed: isLoading ? null : onClickSendMessage,
|
||||||
onPressed: isLoading ? null : onClickSendMessage,
|
icon: const Icon(Icons.send_rounded),
|
||||||
icon: const Icon(Icons.send_rounded),
|
),
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue