fix send button and readme

This commit is contained in:
Salvatore Giordano
2021-02-26 18:16:31 +01:00
parent f861eb4584
commit 1f183931ad
3 changed files with 8 additions and 11 deletions
+5 -5
View File
@@ -81,11 +81,11 @@ class _MessageInputState extends State<MessageInput> {
},
child: Padding(
padding: const EdgeInsets.all(8.0),
child: textController.text.isNotEmpty
? Icon(CupertinoIcons.arrow_up_circle_fill,
color: CupertinoColors.activeGreen, size: 35)
: Icon(CupertinoIcons.exclamationmark_circle_fill,
color: CupertinoColors.systemRed, size: 35),
child: Icon(
CupertinoIcons.arrow_up_circle_fill,
color: CupertinoColors.activeGreen,
size: 35,
),
),
),
decoration: BoxDecoration(