use StreamSvgIcon widget

This commit is contained in:
Salvatore Giordano
2020-11-24 12:52:54 +01:00
parent b20caeee8f
commit f1b7c6f39f
110 changed files with 673 additions and 1392 deletions
+8 -7
View File
@@ -164,8 +164,8 @@ class _NewChatScreenState extends State<NewChatScreen> {
),
),
Positioned(
child: Icon(
StreamIcons.close,
child: StreamSvgIcon(
assetName: 'Icon_close.svg',
color: Colors.white,
),
),
@@ -194,8 +194,8 @@ class _NewChatScreenState extends State<NewChatScreen> {
child: Row(
children: [
NeumorphicButton(
child: Icon(
StreamIcons.group,
child: StreamSvgIcon(
assetName: 'Icon_contacts.svg',
color: Color(0xFF006CFF),
),
),
@@ -289,9 +289,10 @@ class _NewChatScreenState extends State<NewChatScreen> {
children: [
Padding(
padding: const EdgeInsets.all(24),
child: Icon(
StreamIcons.search,
size: 96,
child: StreamSvgIcon(
assetName: 'Icon_search.svg',
height: 96,
width: 96,
color: Colors.grey,
),
),