fix icon boxfit

This commit is contained in:
Salvatore Giordano
2020-11-25 11:53:44 +01:00
parent dc7a436e96
commit e5dfdaac21
+2
View File
@@ -25,6 +25,7 @@ class StreamSvgIcon extends StatelessWidget {
height: height, height: height,
key: key, key: key,
color: color, color: color,
fit: BoxFit.scaleDown,
alignment: Alignment.center, alignment: Alignment.center,
) )
: SvgPicture.asset( : SvgPicture.asset(
@@ -34,6 +35,7 @@ class StreamSvgIcon extends StatelessWidget {
width: width, width: width,
height: height, height: height,
color: color, color: color,
fit: BoxFit.scaleDown,
alignment: Alignment.center, alignment: Alignment.center,
); );
} }