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
@@ -74,10 +74,8 @@ class UserItem extends StatelessWidget {
),
trailing: selected
? CircleAvatar(
child: StreamSvgIcon(
assetName: 'Icon_check.svg',
height: 20,
width: 20,
child: StreamSvgIcon.check(
size: 20,
),
radius: 10,
)