图片使用webp

This commit is contained in:
toly
2020-09-01 17:28:08 +08:00
parent f42b9e0e26
commit 3643ede3de
180 changed files with 145 additions and 145 deletions

View File

@@ -22,14 +22,14 @@ class CustomClipOval extends StatelessWidget {
ClipOval(
child: Image.asset(
"assets/images/wy_300x200.jpg",
"assets/images/wy_300x200.webp",
width: 150,
height: 100,
),
),
ClipOval(
child: Image.asset(
"assets/images/wy_300x200.jpg",
"assets/images/wy_300x200.webp",
width: 100,
height: 100,
fit: BoxFit.cover,