图片使用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

@@ -44,7 +44,7 @@ class NestedScrollViewDemo extends StatelessWidget {
forceElevated: innerBoxIsScrolled, //为true时展开有阴影
flexibleSpace: FlexibleSpaceBar(
background: Image.asset(
"assets/images/wy_300x200_filter.jpg",
"assets/images/wy_300x200_filter.webp",
fit: BoxFit.cover,
),
),