fix icon boxfit
This commit is contained in:
@@ -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,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user