当前位置:网站首页>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
边栏推荐
- Pycharm file name taboo
- Understanding of black box testing by novices after years of testing
- 苹果手机wps文件如何发送到qq邮箱
- Experiment 7 class construction and static member function
- The time selector style is disordered and the middle text is blocked
- 明德扬FPGA开发板XILINX-K7核心板Kintex7 XC7K325 410T工业级
- Explore table component virtualization
- Custom JSP tag - > concept - > lifecycle
- Do you want to take the postgraduate entrance examination? Will you be able to find a good job after graduate school?
- 七个需要关注的测试自动化趋势
猜你喜欢
![[JUC series] overview of executor framework](/img/e3/5131dcdd255c1571e64ae1f0459113.png)
[JUC series] overview of executor framework

How to strengthen the prevention and control of major safety risks for chemical and dangerous goods enterprises in flood season

Balanced binary tree (AVL tree)

【juc学习之路第7天】ReentrantLock与ReentrantReadWriteLock

Industrial control system ICs

UVM: transaction level modeling (TLM) 1.0 communication standard

Microservice automation

Motianlun domestic database salon | Xu Li: Alibaba cloud's native lindorm TSDB database drives the upgrading of industrial it & ot hyper integrated digital system

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

Experiment 5 constructor and destructor
随机推荐
Sorting out app startup process
Zhangxiaobai takes you to install MySQL 5.7 on Huawei cloud ECS server
Divide the array into three equal parts [problem analysis]
2022 618 notebook shopping guide
Do you want to take the postgraduate entrance examination? Will you be able to find a good job after graduate school?
使用 select 切换协程
Matplotlip basic drawing learning of data analysis - 01
Collation of common array functions
Unified certification center oauth2 high availability pit
多年测试菜鸟对黑盒测试的理解
Visitors push e-commerce express without tossing about personal payment codes
Industrial control system ICs
926. Flip String to Monotone Increasing
How to achieve fair and equitable data access and service ecology?
repeat_ L2-007 family property_ set
Mingdeyang FPGA development board xilinx-k7 core board kinex7k325 410t industrial grade
Dom Knowledge point Summary
Motianlun domestic database salon | Xu Li: Alibaba cloud's native lindorm TSDB database drives the upgrading of industrial it & ot hyper integrated digital system
What is bonded warehouse and what is the difference between them
C language exercise: esp32 ble Low Power Bluetooth server data packaging and client data analysis