add factory constructor

This commit is contained in:
Salvatore Giordano
2020-11-24 13:39:36 +01:00
parent 93c324ac56
commit 6b62eadaa4
22 changed files with 424 additions and 166 deletions
+2 -4
View File
@@ -153,10 +153,8 @@ class ChannelPreview extends StatelessWidget {
return Row(
crossAxisAlignment: CrossAxisAlignment.end,
children: <Widget>[
StreamSvgIcon(
assetName: 'Icon_mute.svg',
height: 16,
width: 16,
StreamSvgIcon.mute(
size: 16,
),
Text(
' Channel is muted',