feat: wip message input
This commit is contained in:
+38
-28
@@ -839,20 +839,25 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
return IconTheme(
|
return IconTheme(
|
||||||
data:
|
data:
|
||||||
StreamChatTheme.of(context).channelTheme.messageInputButtonIconTheme,
|
StreamChatTheme.of(context).channelTheme.messageInputButtonIconTheme,
|
||||||
child: Material(
|
child: Padding(
|
||||||
clipBehavior: Clip.hardEdge,
|
padding: const EdgeInsets.all(8.0),
|
||||||
shape: RoundedRectangleBorder(
|
child: Center(
|
||||||
borderRadius: BorderRadius.circular(32),
|
child: Material(
|
||||||
),
|
clipBehavior: Clip.hardEdge,
|
||||||
color: Colors.grey,
|
shape: RoundedRectangleBorder(
|
||||||
child: IconButton(
|
borderRadius: BorderRadius.circular(24),
|
||||||
key: Key('sendButton'),
|
),
|
||||||
onPressed: () {
|
color: Colors.grey,
|
||||||
sendMessage();
|
child: IconButton(
|
||||||
},
|
key: Key('sendButton'),
|
||||||
icon: Icon(
|
onPressed: () {
|
||||||
Icons.arrow_forward,
|
sendMessage();
|
||||||
color: Colors.white,
|
},
|
||||||
|
icon: Icon(
|
||||||
|
Icons.arrow_forward,
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -863,20 +868,25 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
return IconTheme(
|
return IconTheme(
|
||||||
data:
|
data:
|
||||||
StreamChatTheme.of(context).channelTheme.messageInputButtonIconTheme,
|
StreamChatTheme.of(context).channelTheme.messageInputButtonIconTheme,
|
||||||
child: Material(
|
child: Center(
|
||||||
clipBehavior: Clip.hardEdge,
|
child: Padding(
|
||||||
shape: RoundedRectangleBorder(
|
padding: const EdgeInsets.all(8.0),
|
||||||
borderRadius: BorderRadius.circular(32),
|
child: Material(
|
||||||
),
|
clipBehavior: Clip.hardEdge,
|
||||||
color: StreamChatTheme.of(context).accentColor,
|
shape: RoundedRectangleBorder(
|
||||||
child: IconButton(
|
borderRadius: BorderRadius.circular(24),
|
||||||
key: Key('sendButton'),
|
),
|
||||||
onPressed: () {
|
color: StreamChatTheme.of(context).accentColor,
|
||||||
sendMessage();
|
child: IconButton(
|
||||||
},
|
key: Key('sendButton'),
|
||||||
icon: Icon(
|
onPressed: () {
|
||||||
Icons.arrow_upward,
|
sendMessage();
|
||||||
color: Colors.white,
|
},
|
||||||
|
icon: Icon(
|
||||||
|
Icons.arrow_upward,
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user