当前位置:网站首页>Flutter drawer学习总结6
Flutter drawer学习总结6
2022-06-10 13:39:00 【tnan2522】
drawer
drawer 是侧边栏组件, 会在顶部导航栏中出现一个侧边栏的图标,当点击的时候,左侧边栏页面会滑出
如
当点击或左滑时
将侧边栏的页面进行弹出
在侧边栏中可以使用 UserAccountsDrawerHeaderhead头组件,
类似这种布局
endDrawer
和Drawer 对应的是 endDrawer 右组件, 局与状态栏的右边, Drawer中有的属性在endDrawer 中都有
跳转
当我们在侧边栏上点击页面跳转后返回是会发现返回的是侧边栏页面,这时候我们想要返回到TabBar页面的话怎么办? 这使用可以在点击跳转的时候先 pop返回到TabBar 页面中,然后在进行跳转,这样跳转成功后返回的页面就是TabBar页面了
边栏推荐
- im即时通讯开发:进程被杀底层原理、APP应对被杀技巧
- TabLayout 使用详解(修改文字大小、下划线样式等)
- Leetcode-56-merge interval
- What does the multi cloud management platform CMP mean? Who can explain it clearly
- 解决win10虚拟机和主机不能互相粘贴复制的问题
- erp odoo 权限管理5年系统设置经验小结 真经验分享
- 解决VMware Workstation安装VMware Tools显示灰色的办法
- [Huang ah code] teacher, I want to choose software development related majors after the college entrance examination. Which direction do you think is better? How to fill in the college entrance examin
- 架构实战营 第 6 期 模块八课后作业
- Docker部署一个Redis集群
猜你喜欢

软件智能:aaas系统 度量衡及文法的形式规则

How to solve the problem that vmware tools are grayed out when VMware Workstation is installed

Application analysis of key recording and playing of wt2003h4-16s voice chip

H. 265 introduction to coding principles

618. How to prepare for the great promotion

How does the API detect security configuration errors?
![Buuctf [glassfish] arbitrary file reading](/img/37/e3c127f2f2ba97c5ca0b6cf01cf9ab.png)
Buuctf [glassfish] arbitrary file reading
![buuctf [Jupyter]notebook-rce](/img/fc/9c2047bdadb606b555e48f553fb1dd.png)
buuctf [Jupyter]notebook-rce

解决VMware Workstation安装VMware Tools显示灰色的办法
10 competitive airpods Pro products worth your choice
随机推荐
32. Simple test of raspberry pie serial port communication and ultrasonic module ranging
buuctf [PHP]inclusion
五角大楼首次承认资助46个乌生物设施 俄方曾曝只有3个安全
Kotlin practises. Take login as an example. Anko simply uses it
如何定位游戏发热问题
移动app性能测试有哪些需要进行?性能测试报告如何收费?
erp odoo 权限管理5年系统设置经验小结 真经验分享
CL210OpenStack操作的故障排除--常见核心问题的故障排除
解决VMware Workstation安装VMware Tools显示灰色的办法
Smart campus security channel and video monitoring solution
[FAQ] résumé des problèmes courants et des solutions lors de l'utilisation de l'interface API rest du Service de santé sportive
Typescript introductory notes (personal)
618 大促来袭,浅谈如何做好大促备战
「大模型」之所短,「知识图谱」之所长
The relocation of Apple's production line shows that 5g industrial interconnection and intelligent manufacturing have limited help for manufacturing in China
新功能|Mail GPU Counter模块新增GPU图元处理和GPU Shader Cycles
[raise bar C #] how to call the base of the interface
《软件体系结构原理、方法与实践》第二版期末考试复习总结
Z-Wave ecosystem status report in 2022
Libre circulation des ressources dans le cloud et localement