feat: wip message input
This commit is contained in:
@@ -206,8 +206,13 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
direction: Axis.horizontal,
|
direction: Axis.horizontal,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
if (!widget.disableAttachments) _buildAttachmentButton(),
|
Row(
|
||||||
_buildGiphyButton(),
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
|
children: [
|
||||||
|
if (!widget.disableAttachments) _buildAttachmentButton(),
|
||||||
|
_buildGiphyButton(),
|
||||||
|
],
|
||||||
|
),
|
||||||
if (widget.actionsLocation == ActionsLocation.left)
|
if (widget.actionsLocation == ActionsLocation.left)
|
||||||
...widget.actions ?? [],
|
...widget.actions ?? [],
|
||||||
_buildTextInput(context),
|
_buildTextInput(context),
|
||||||
@@ -622,7 +627,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
return Center(
|
return Center(
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.only(top: 8.0, bottom: 8.0, left: 5.0, right: 10.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Icon(StreamIcons.lightning),
|
child: Icon(StreamIcons.lightning),
|
||||||
),
|
),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
@@ -638,7 +643,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
return Center(
|
return Center(
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.only(top: 8.0, bottom: 8.0, left: 10.0, right: 5.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Icon(StreamIcons.attach),
|
child: Icon(StreamIcons.attach),
|
||||||
),
|
),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
|||||||
Reference in New Issue
Block a user