feat: wip message input

This commit is contained in:
Deven Joshi
2020-10-16 17:32:59 +05:30
parent ede6af9947
commit 6df66bc5ad
+12 -2
View File
@@ -839,10 +839,13 @@ class MessageInputState extends State<MessageInput> {
return IconTheme(
data:
StreamChatTheme.of(context).channelTheme.messageInputButtonIconTheme,
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Center(
child: Material(
clipBehavior: Clip.hardEdge,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(32),
borderRadius: BorderRadius.circular(24),
),
color: Colors.grey,
child: IconButton(
@@ -856,6 +859,8 @@ class MessageInputState extends State<MessageInput> {
),
),
),
),
),
);
}
@@ -863,10 +868,13 @@ class MessageInputState extends State<MessageInput> {
return IconTheme(
data:
StreamChatTheme.of(context).channelTheme.messageInputButtonIconTheme,
child: Center(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Material(
clipBehavior: Clip.hardEdge,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(32),
borderRadius: BorderRadius.circular(24),
),
color: StreamChatTheme.of(context).accentColor,
child: IconButton(
@@ -880,6 +888,8 @@ class MessageInputState extends State<MessageInput> {
),
),
),
),
),
);
}