feat: wip message input

This commit is contained in:
Deven Joshi
2020-10-16 18:53:21 +05:30
parent 1465cc0ba7
commit b64a651d2d
+2 -2
View File
@@ -295,7 +295,7 @@ class MessageInputState extends State<MessageInput> {
borderRadius: BorderRadius.circular(32), borderRadius: BorderRadius.circular(32),
), ),
contentPadding: EdgeInsets.all(4), contentPadding: EdgeInsets.all(4),
prefix: Chip( prefix: _giphyEnabled ? Chip(
backgroundColor: StreamChatTheme.of(context).accentColor, backgroundColor: StreamChatTheme.of(context).accentColor,
label: Row( label: Row(
children: [ children: [
@@ -304,7 +304,7 @@ class MessageInputState extends State<MessageInput> {
Text('GIPHY', style: TextStyle(color: Colors.white),), Text('GIPHY', style: TextStyle(color: Colors.white),),
], ],
) )
), ) : null,
suffixIcon: IconButton( suffixIcon: IconButton(
icon: Icon(Icons.cancel_outlined), icon: Icon(Icons.cancel_outlined),
onPressed: () { onPressed: () {