当前位置:网站首页>Flutter uses local pictures
Flutter uses local pictures
2022-06-12 00:32:00 【Greater than retarded】
One 、 summary
Study flutter When , When using local images, you will be prompted with errors in how to set them , There is no error , It's embarrassing to not show it again . Keep this record .
Two 、 Operation steps


The above figure has made it clear . It can solve the problem of ordinary pictures :
yaml To configure :
uses-material-design: true
assets:
- lib/assets/images/
call :
AssetImage('lib/assets/images/icon_header.jpg')
3、 ... and 、 Reference resources
Four 、 doubt
Set up 2 times 3 Times the figure 2.0x 3.0x Folder , Actually, when running the mobile phone . If the path is not used 2,3 Names don't have intelligent recognition . Failed to adjust , Non actual projects are not well understood . The feeling is virtual or the code has to control itself . This is the question point. I don't understand it yet. I will update it later , You can comment on what you see and understand
边栏推荐
- Jmeter性能测试场景的创建和运行
- Redis的主从复制、哨兵模式和集群
- IP addressing overview
- How to cancel smart table style in WPS table
- APP项目怎么测?如何搭建测试体系
- How to optimize plantuml flow diagram (sequence diagram)
- Devops landing practice drip and pit stepping records - (1)
- Redis master-slave replication, sentinel mode and cluster
- "Failure" of the prospectus of Laowang: Laowang made its first dash for listing in Hong Kong, and the turnover rate continued to decline
- UVM: transaction level modeling (TLM) 1.0 communication standard
猜你喜欢

Do you want to take the postgraduate entrance examination? Will you be able to find a good job after graduate school?

统一认证中心 Oauth2 高可用坑
![[industry application] an article on power digital transformation](/img/4a/d2d2795992cac8fb76135a117c3091.jpg)
[industry application] an article on power digital transformation

Enterprise wechat H5_ Integrated message decryption class, message push get and post callback processing

NFS quotas:Cannot register service: RPC: Authentication error

Redis master-slave replication, sentinel mode and cluster

App startup process: from clicking the application icon to the activity startup process

What are the software development processes of the visitor push mall?

Graph and graph traversal

Seven trends in test automation that need attention
随机推荐
[day 7 of JUC learning] reentrantlock and reentrantreadwritelock
Experiment four categories and objects
App startup process: from clicking the application icon to the activity startup process
Mingdeyang FPGA development board xilinx-k7 core board kinex7k325 410t industrial grade
How to strengthen the prevention and control of major safety risks for chemical and dangerous goods enterprises in flood season
How to send Apple phone WPS files to QQ mailbox
Design principle [Demeter's Law]
多年测试菜鸟对黑盒测试的理解
What are the software development processes of the visitor push mall?
挂载smb共享提示目录无权限
使用 select 切换协程
Microservice automation
Understanding of black box testing by novices after years of testing
[day 5 of JUC learning] reference atomic classes and attribute modifiers
No permission to mount SMB share prompt directory
Achievements in science and Technology (XV)
Optimization method of win7 FPS
SF14 | supertrend "super trend" indicator magic change and upgrade (source code)
如何优化PlantUML流程图(时序图)
Collation of common array functions