当前位置:网站首页>Flutter development: a way to solve the problem of blank space on the top of listview
Flutter development: a way to solve the problem of blank space on the top of listview
2022-07-05 09:47:00 【Third shopkeeper 666】
Preface
stay Flutter In development , Developers are interested in ListView The use of components is no stranger , Because regular business requirements will basically involve lists or slides , It is necessary to use ListView. About ListView Regular use of , Generally, you can find the corresponding API, There is not much here . But for some uncommon uses, we still need to know , Then this blog post will share about solving ListView One of the common problems in the use of :ListView Top blank question , Easy to read and use .
describe
stay Flutter in ListView There will be blank problem at the top by default , Will see ListView There is a little blank area on the head , That's because of dang ListView No peace AppBar When used together , The head will have a padding, Then I want to get rid of this padding, Then use MediaQuery.removePadding hold ListView Wrap it , So you're going to have to take ListView As MediaQuery.removePadding Sub components of .
Figure displaying the blank question
边栏推荐
- LeetCode 556. Next bigger element III
- 项目实战 | Excel导出功能
- Observation cloud and tdengine have reached in-depth cooperation to optimize the cloud experience of enterprises
- Oracle combines multiple rows of data into one row of data
- Vs code problem: the length of long lines can be configured through "editor.maxtokenizationlinelength"
- 写入速度提升数十倍,TDengine 在拓斯达智能工厂解决方案上的应用
- SQL learning - case when then else
- Unity SKFramework框架(二十三)、MiniMap 小地图工具
- Tdengine offline upgrade process
- 百度交易中台之钱包系统架构浅析
猜你喜欢

Figure neural network + comparative learning, where to go next?

Charm of code language

Mobile heterogeneous computing technology GPU OpenCL programming (Advanced)

Unity SKFramework框架(二十三)、MiniMap 小地图工具

Roll up, break through 35 year old anxiety, and animate the CPU to record the function call process

Unity skframework framework (XXIII), minimap small map tool

TDengine 已经支持工业英特尔 边缘洞见软件包

百度评论中台的设计与探索

Lepton 无损压缩原理及性能分析

解决Navicat激活、注册时候出现No All Pattern Found的问题
随机推荐
SMT32H7系列DMA和DMAMUX的一点理解
Wechat applet obtains household area information
LeetCode 31. Next spread
Observation cloud and tdengine have reached in-depth cooperation to optimize the cloud experience of enterprises
Solve the problem of no all pattern found during Navicat activation and registration
What should we pay attention to when developing B2C websites?
[hungry dynamic table]
解决Navicat激活、注册时候出现No All Pattern Found的问题
Why don't you recommend using products like mongodb to replace time series databases?
Mobile heterogeneous computing technology GPU OpenCL programming (Advanced)
[reading notes] Figure comparative learning gnn+cl
Android privacy sandbox developer preview 3: privacy, security and personalized experience
Unity skframework framework (24), avatar controller third person control
Data visualization platform based on template configuration
tongweb设置gzip
【sourceTree配置SSH及使用】
Android SQLite database encryption
[sorting of object array]
写入速度提升数十倍,TDengine 在拓斯达智能工厂解决方案上的应用
Why does everyone want to do e-commerce? How much do you know about the advantages of online shopping malls?