From 34375127729e5889c035e6a799ab64bf4aab4e68 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Wed, 28 Oct 2020 14:11:04 +0530 Subject: [PATCH 01/13] fix: qa fixes --- lib/src/message_input.dart | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 30910924..fffe90b5 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -354,7 +354,7 @@ class MessageInputState extends State { autofocus: false, textAlignVertical: TextAlignVertical.center, decoration: InputDecoration( - hintText: 'Write a message', + hintText: (_commandEnabled && _chosenCommand.name == 'giphy') ? 'Search GIFs' :'Write a message', prefixText: _commandEnabled ? null : ' ', border: OutlineInputBorder( borderSide: BorderSide(color: Colors.transparent)), @@ -461,6 +461,9 @@ class MessageInputState extends State { padding: const EdgeInsets.all(8.0), child: Card( elevation: 2.0, + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(8.0), + ), color: StreamChatTheme.of(context).primaryColor, clipBehavior: Clip.antiAlias, child: Container( @@ -519,7 +522,7 @@ class MessageInputState extends State { color: Colors.white, size: 12.5, ), - maxRadius: 15, + maxRadius: 12, ), //subtitle: Text(c.description), onTap: () { @@ -776,7 +779,7 @@ class MessageInputState extends State { child: Padding( padding: const EdgeInsets.only( left: 4.0, right: 8.0, top: 8.0, bottom: 8.0), - child: Icon(StreamIcons.lightning), + child: Icon(StreamIcons.lightning, color: Color(0xFF000000).withAlpha(128),), ), onTap: () { if (_commandsOverlay == null) { @@ -798,7 +801,7 @@ class MessageInputState extends State { child: Padding( padding: EdgeInsets.only( left: 8.0, right: padding, top: 8.0, bottom: 8.0), - child: Icon(StreamIcons.attach), + child: Icon(StreamIcons.attach, color: Color(0xFF000000).withAlpha(128),), ), onTap: () { showAttachmentModal(); From e16ad47e59e90fe3868d5a33a7d5a42e378569f9 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Wed, 28 Oct 2020 14:29:20 +0530 Subject: [PATCH 02/13] fix: qa fixes --- lib/src/message_input.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index fffe90b5..81649764 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -573,6 +573,9 @@ class MessageInputState extends State { margin: EdgeInsets.all(8.0), elevation: 2.0, color: StreamChatTheme.of(context).primaryColor, + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(8.0), + ), clipBehavior: Clip.antiAlias, child: Container( constraints: BoxConstraints.loose(Size.fromHeight(400)), @@ -602,7 +605,7 @@ class MessageInputState extends State { '${m.user.name}', style: TextStyle(fontWeight: FontWeight.bold), ), - subtitle: Text('${m.userId}'), + subtitle: Text('@${m.userId}'), trailing: Icon( Icons.alternate_email, color: StreamChatTheme.of(context).accentColor, From e2164c3cef380a210376cf2eee3b840709ca2e20 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Wed, 28 Oct 2020 15:33:23 +0530 Subject: [PATCH 03/13] fix: qa fixes --- lib/src/message_input.dart | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 81649764..e3ab5574 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -607,7 +607,7 @@ class MessageInputState extends State { ), subtitle: Text('@${m.userId}'), trailing: Icon( - Icons.alternate_email, + StreamIcons.at_mention, color: StreamChatTheme.of(context).accentColor, ), onTap: () { @@ -1037,7 +1037,7 @@ class MessageInputState extends State { sendMessage(); }, child: Icon( - StreamIcons.send_message, + _getIdleSendIcon(), color: Colors.grey, ), )), @@ -1059,7 +1059,7 @@ class MessageInputState extends State { child: Transform.rotate( angle: widget.editMessage == null ? -pi / 2 : 0, child: Icon( - widget.editMessage == null ? StreamIcons.send_message : StreamIcons.check_send, + _getSendIcon(), color: StreamChatTheme.of(context).accentColor, ), ), @@ -1069,6 +1069,24 @@ class MessageInputState extends State { ); } + IconData _getIdleSendIcon() { + if (_commandEnabled) { + return StreamIcons.search; + } else { + return StreamIcons.send_message; + } + } + + IconData _getSendIcon() { + if(widget.editMessage != null) { + return StreamIcons.check_send; + } else if (_commandEnabled) { + return StreamIcons.search; + } else { + return StreamIcons.send_message; + } + } + /// Sends the current message void sendMessage() async { var text = textEditingController.text.trim(); From 8b635b440e93e91b21528bb1eb56ab6c0b7b040d Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Wed, 28 Oct 2020 15:52:13 +0530 Subject: [PATCH 04/13] fix: qa fixes --- lib/src/message_input.dart | 62 +++++++++++++++++++++++++------------- 1 file changed, 41 insertions(+), 21 deletions(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index e3ab5574..b3744152 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -192,7 +192,7 @@ class MessageInputState extends State { padding: const EdgeInsets.all(8.0), child: _buildTextField(context), ), - if(widget.parentMessage != null) + if (widget.parentMessage != null) Padding( padding: const EdgeInsets.symmetric(horizontal: 8.0), child: _buildDmCheckbox(), @@ -222,7 +222,11 @@ class MessageInputState extends State { Widget _buildDmCheckbox() { return Row( children: [ - Checkbox(value: _sendAsDm, onChanged: (val) => setState(() {_sendAsDm = val;})), + Checkbox( + value: _sendAsDm, + onChanged: (val) => setState(() { + _sendAsDm = val; + })), Padding( padding: const EdgeInsets.symmetric(horizontal: 8.0), child: Text('Send also as direct message'), @@ -316,9 +320,11 @@ class MessageInputState extends State { var matchedCommandsList = StreamChannel.of(context) .channel .config - .commands.where((element) => element.name == s.substring(1)).toList(); + .commands + .where((element) => element.name == s.substring(1)) + .toList(); - if(matchedCommandsList.length == 1) { + if (matchedCommandsList.length == 1) { _chosenCommand = matchedCommandsList[0]; textEditingController.clear(); _messageIsPresent = false; @@ -354,7 +360,10 @@ class MessageInputState extends State { autofocus: false, textAlignVertical: TextAlignVertical.center, decoration: InputDecoration( - hintText: (_commandEnabled && _chosenCommand.name == 'giphy') ? 'Search GIFs' :'Write a message', + hintText: + (_commandEnabled && _chosenCommand.name == 'giphy') + ? 'Search GIFs' + : 'Write a message', prefixText: _commandEnabled ? null : ' ', border: OutlineInputBorder( borderSide: BorderSide(color: Colors.transparent)), @@ -782,7 +791,10 @@ class MessageInputState extends State { child: Padding( padding: const EdgeInsets.only( left: 4.0, right: 8.0, top: 8.0, bottom: 8.0), - child: Icon(StreamIcons.lightning, color: Color(0xFF000000).withAlpha(128),), + child: Icon( + StreamIcons.lightning, + color: Color(0xFF000000).withAlpha(128), + ), ), onTap: () { if (_commandsOverlay == null) { @@ -802,9 +814,12 @@ class MessageInputState extends State { return Center( child: InkWell( child: Padding( - padding: EdgeInsets.only( - left: 8.0, right: padding, top: 8.0, bottom: 8.0), - child: Icon(StreamIcons.attach, color: Color(0xFF000000).withAlpha(128),), + padding: + EdgeInsets.only(left: 8.0, right: padding, top: 8.0, bottom: 8.0), + child: Icon( + StreamIcons.attach, + color: Color(0xFF000000).withAlpha(128), + ), ), onTap: () { showAttachmentModal(); @@ -1056,13 +1071,7 @@ class MessageInputState extends State { onTap: () { sendMessage(); }, - child: Transform.rotate( - angle: widget.editMessage == null ? -pi / 2 : 0, - child: Icon( - _getSendIcon(), - color: StreamChatTheme.of(context).accentColor, - ), - ), + child: _getSendIcon(), ), ), ), @@ -1077,13 +1086,24 @@ class MessageInputState extends State { } } - IconData _getSendIcon() { - if(widget.editMessage != null) { - return StreamIcons.check_send; + Widget _getSendIcon() { + if (widget.editMessage != null) { + return Icon( + StreamIcons.check_send, + color: StreamChatTheme.of(context).accentColor, + ); } else if (_commandEnabled) { - return StreamIcons.search; + return Icon( + StreamIcons.search, + color: StreamChatTheme.of(context).accentColor, + ); } else { - return StreamIcons.send_message; + return Transform.rotate( + angle: -pi / 2, + child: Icon( + StreamIcons.send_message, + color: StreamChatTheme.of(context).accentColor, + )); } } From 5087aecff450e949464126f7d45ec9b91449550c Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Wed, 28 Oct 2020 16:01:18 +0530 Subject: [PATCH 05/13] fix: qa fixes --- lib/src/message_input.dart | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index b3744152..9e4998d8 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -223,10 +223,14 @@ class MessageInputState extends State { return Row( children: [ Checkbox( - value: _sendAsDm, - onChanged: (val) => setState(() { - _sendAsDm = val; - })), + value: _sendAsDm, + onChanged: (val) => setState( + () { + _sendAsDm = val; + }, + ), + activeColor: Color(0xFF006CFF), + ), Padding( padding: const EdgeInsets.symmetric(horizontal: 8.0), child: Text('Send also as direct message'), From f858cbf46044e2ec478485e7960fd0844d966abc Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Thu, 29 Oct 2020 15:12:46 +0530 Subject: [PATCH 06/13] fix: qa fixes --- images/giphy_icon.png | Bin 0 -> 400 bytes lib/src/message_input.dart | 6 ++++++ pubspec.yaml | 2 ++ 3 files changed, 8 insertions(+) create mode 100644 images/giphy_icon.png diff --git a/images/giphy_icon.png b/images/giphy_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..ea99e8341848dcbb49d654ff1847818bb301cf92 GIT binary patch literal 400 zcmV;B0dM|^P)xRK7oUqgCh17d;%Xq#3#_r!AWp;a1b4&P(?>Wp+hP3 z51~VHPf!1(ZFq-TZqD{20kU0~*(*mS~qP@%xE^K=!GnI-@@WFcR1u(CkFdy`sC*C;@Zdf(X!+WEF zj_*ekOxFp8L1^OW#Bm-=C7iLLk|2p^*Tq+}Ikeh0j`8DdLHP$s4B~#bTBx#Q;BeR7 z)eI)^TJqZkWYXC+4Pw{;gPCpQ13(%`=OGdcJ`W%@ioBj0baEi~67BmFByp=-NI!7# uGHx5*#vp6MKRCiN=+#dc|9??~b?E~xRAC+pj+ux60000 { enabled: _inputEnabled, minLines: null, maxLines: null, + expands: true, onSubmitted: (_) { sendMessage(); }, @@ -513,6 +514,11 @@ class MessageInputState extends State { ...commands .map( (c) => ListTile( + leading: c.name == 'giphy' ? CircleAvatar( + backgroundColor: Colors.black, + child: Image.asset('images/giphy_icon.png'), + maxRadius: 12.0, + ) : null, title: Text.rich( TextSpan( text: '${c.name.capitalize()}', diff --git a/pubspec.yaml b/pubspec.yaml index edd19589..a9285b4c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,6 +32,8 @@ dependencies: clipboard: ^0.1.2+8 flutter: + assets: + - images/giphy_icon.png fonts: - family: stream-icons fonts: From 76f5b0a0607e60e20cf127479a9454460445666e Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Thu, 29 Oct 2020 15:18:45 +0530 Subject: [PATCH 07/13] fix: qa fixes --- lib/src/message_input.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 0b84e823..116b66d5 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -514,7 +514,7 @@ class MessageInputState extends State { ...commands .map( (c) => ListTile( - leading: c.name == 'giphy' ? CircleAvatar( + leading: c.name == '/giphy' ? CircleAvatar( backgroundColor: Colors.black, child: Image.asset('images/giphy_icon.png'), maxRadius: 12.0, From d9d0bba99946594ebc8a48142e74dd9bf822f2a0 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Thu, 29 Oct 2020 15:20:45 +0530 Subject: [PATCH 08/13] fix: qa fixes --- lib/src/message_input.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 116b66d5..0b84e823 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -514,7 +514,7 @@ class MessageInputState extends State { ...commands .map( (c) => ListTile( - leading: c.name == '/giphy' ? CircleAvatar( + leading: c.name == 'giphy' ? CircleAvatar( backgroundColor: Colors.black, child: Image.asset('images/giphy_icon.png'), maxRadius: 12.0, From dbb4b37161c96bf60a26ab39c17fe9f0ffedd242 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Thu, 29 Oct 2020 15:40:30 +0530 Subject: [PATCH 09/13] fix: textfield height issues solved --- lib/src/message_input.dart | 45 +++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 0b84e823..56a3989a 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -282,26 +282,25 @@ class MessageInputState extends State { Expanded _buildTextInput(BuildContext context) { return Expanded( child: Center( - child: LimitedBox( - maxHeight: widget.maxHeight, - child: Container( - clipBehavior: Clip.antiAlias, - decoration: BoxDecoration( - borderRadius: BorderRadius.circular(32.0), - border: Border.all( - color: Colors.grey, - ), + child: Container( + clipBehavior: Clip.antiAlias, + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(32.0), + border: Border.all( + color: Colors.grey, ), - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - _buildAttachments(), - TextField( + ), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + _buildAttachments(), + LimitedBox( + maxHeight: widget.maxHeight, + child: TextField( key: Key('messageInputText'), enabled: _inputEnabled, minLines: null, maxLines: null, - expands: true, onSubmitted: (_) { sendMessage(); }, @@ -412,8 +411,8 @@ class MessageInputState extends State { ), textCapitalization: TextCapitalization.sentences, ), - ], - ), + ) + ], ), ), ), @@ -514,11 +513,13 @@ class MessageInputState extends State { ...commands .map( (c) => ListTile( - leading: c.name == 'giphy' ? CircleAvatar( - backgroundColor: Colors.black, - child: Image.asset('images/giphy_icon.png'), - maxRadius: 12.0, - ) : null, + leading: c.name == 'giphy' + ? CircleAvatar( + backgroundColor: Colors.black, + child: Image.asset('images/giphy_icon.png'), + maxRadius: 12.0, + ) + : null, title: Text.rich( TextSpan( text: '${c.name.capitalize()}', From ccd70a2a7aa40636004de5f1b1d8654f155e8160 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Thu, 29 Oct 2020 15:54:13 +0530 Subject: [PATCH 10/13] fix: giphy fixes --- lib/src/message_input.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 56a3989a..631bf9ef 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -516,7 +516,12 @@ class MessageInputState extends State { leading: c.name == 'giphy' ? CircleAvatar( backgroundColor: Colors.black, - child: Image.asset('images/giphy_icon.png'), + child: Image.asset( + 'images/giphy_icon.png', + package: 'stream_chat_flutter', + width: 16.0, + height: 16.0, + ), maxRadius: 12.0, ) : null, From 8384b605323232616104d66ac28661a970acb6f6 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Thu, 29 Oct 2020 13:27:11 +0100 Subject: [PATCH 11/13] use stream chat theme --- lib/src/message_input.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 631bf9ef..5745f779 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -229,7 +229,7 @@ class MessageInputState extends State { _sendAsDm = val; }, ), - activeColor: Color(0xFF006CFF), + activeColor: StreamChatTheme.of(context).accentColor, ), Padding( padding: const EdgeInsets.symmetric(horizontal: 8.0), From 9f8248738d36fcd2bacac85ab1805eeed568b2ab Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Thu, 29 Oct 2020 19:31:48 +0530 Subject: [PATCH 12/13] feat: Converted png to svg --- images/giphy_icon.png | Bin 400 -> 0 bytes images/giphy_icon.svg | 9 +++++++++ lib/src/message_input.dart | 5 +++-- pubspec.yaml | 3 ++- 4 files changed, 14 insertions(+), 3 deletions(-) delete mode 100644 images/giphy_icon.png create mode 100644 images/giphy_icon.svg diff --git a/images/giphy_icon.png b/images/giphy_icon.png deleted file mode 100644 index ea99e8341848dcbb49d654ff1847818bb301cf92..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 400 zcmV;B0dM|^P)xRK7oUqgCh17d;%Xq#3#_r!AWp;a1b4&P(?>Wp+hP3 z51~VHPf!1(ZFq-TZqD{20kU0~*(*mS~qP@%xE^K=!GnI-@@WFcR1u(CkFdy`sC*C;@Zdf(X!+WEF zj_*ekOxFp8L1^OW#Bm-=C7iLLk|2p^*Tq+}Ikeh0j`8DdLHP$s4B~#bTBx#Q;BeR7 z)eI)^TJqZkWYXC+4Pw{;gPCpQ13(%`=OGdcJ`W%@ioBj0baEi~67BmFByp=-NI!7# uGHx5*#vp6MKRCiN=+#dc|9??~b?E~xRAC+pj+ux60000 + + + + + + + + diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 5745f779..9b0128e2 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -6,6 +6,7 @@ import 'package:file_picker/file_picker.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart'; +import 'package:flutter_svg/flutter_svg.dart'; import 'package:http_parser/http_parser.dart'; import 'package:image_picker/image_picker.dart'; import 'package:mime/mime.dart'; @@ -516,8 +517,8 @@ class MessageInputState extends State { leading: c.name == 'giphy' ? CircleAvatar( backgroundColor: Colors.black, - child: Image.asset( - 'images/giphy_icon.png', + child: SvgPicture.asset( + 'images/giphy_icon.svg', package: 'stream_chat_flutter', width: 16.0, height: 16.0, diff --git a/pubspec.yaml b/pubspec.yaml index d61e6874..bf894a2d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,10 +32,11 @@ dependencies: carousel_slider: ^2.2.1 clipboard: ^0.1.2+8 widgets_visibility_provider: ^2.0.2 + flutter_svg: ^0.19.1 flutter: assets: - - images/giphy_icon.png + - images/giphy_icon.svg fonts: - family: stream-icons fonts: From 8c49ce2667575c9d6544945cf5ffca48f86d1be0 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Thu, 29 Oct 2020 19:48:05 +0530 Subject: [PATCH 13/13] Revert "feat: Converted png to svg" This reverts commit 9f824873 --- images/giphy_icon.png | Bin 0 -> 400 bytes images/giphy_icon.svg | 9 --------- lib/src/message_input.dart | 5 ++--- pubspec.yaml | 3 +-- 4 files changed, 3 insertions(+), 14 deletions(-) create mode 100644 images/giphy_icon.png delete mode 100644 images/giphy_icon.svg diff --git a/images/giphy_icon.png b/images/giphy_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..ea99e8341848dcbb49d654ff1847818bb301cf92 GIT binary patch literal 400 zcmV;B0dM|^P)xRK7oUqgCh17d;%Xq#3#_r!AWp;a1b4&P(?>Wp+hP3 z51~VHPf!1(ZFq-TZqD{20kU0~*(*mS~qP@%xE^K=!GnI-@@WFcR1u(CkFdy`sC*C;@Zdf(X!+WEF zj_*ekOxFp8L1^OW#Bm-=C7iLLk|2p^*Tq+}Ikeh0j`8DdLHP$s4B~#bTBx#Q;BeR7 z)eI)^TJqZkWYXC+4Pw{;gPCpQ13(%`=OGdcJ`W%@ioBj0baEi~67BmFByp=-NI!7# uGHx5*#vp6MKRCiN=+#dc|9??~b?E~xRAC+pj+ux60000 - - - - - - - - diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 9b0128e2..5745f779 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -6,7 +6,6 @@ import 'package:file_picker/file_picker.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart'; -import 'package:flutter_svg/flutter_svg.dart'; import 'package:http_parser/http_parser.dart'; import 'package:image_picker/image_picker.dart'; import 'package:mime/mime.dart'; @@ -517,8 +516,8 @@ class MessageInputState extends State { leading: c.name == 'giphy' ? CircleAvatar( backgroundColor: Colors.black, - child: SvgPicture.asset( - 'images/giphy_icon.svg', + child: Image.asset( + 'images/giphy_icon.png', package: 'stream_chat_flutter', width: 16.0, height: 16.0, diff --git a/pubspec.yaml b/pubspec.yaml index bf894a2d..d61e6874 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,11 +32,10 @@ dependencies: carousel_slider: ^2.2.1 clipboard: ^0.1.2+8 widgets_visibility_provider: ^2.0.2 - flutter_svg: ^0.19.1 flutter: assets: - - images/giphy_icon.svg + - images/giphy_icon.png fonts: - family: stream-icons fonts: