Skip to content

Commit

Permalink
fix:丢失"高"字
Browse files Browse the repository at this point in the history
由低到高
  • Loading branch information
Kaifuny authored Feb 18, 2019
1 parent ec5ab35 commit c850a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets-and-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Flutter可以为当前设备加载适合其分辨率的图像。
也就是说,如果`.../my_icon.png`是72px乘72px,那么`.../3.0x/my_icon.png`应该是216px乘216px;
但如果未指定宽度和高度,它们都将渲染为72像素×72像素(以逻辑像素为单位)。

`pubspec.yaml`中asset部分中的每一项都应与实际文件相对应,但主资源项除外。当主资源缺少某个资源时,会按分辨率从低到的顺序去选择
`pubspec.yaml`中asset部分中的每一项都应与实际文件相对应,但主资源项除外。当主资源缺少某个资源时,会按分辨率从低到高的顺序去选择
(译者语:也就是说1x中没有的话会在2x中找,2x中还没有的话就在3x中找)。


Expand Down

0 comments on commit c850a19

Please sign in to comment.