当前位置:网站首页>Fleet tutorial 09 basic introduction to navigationrail (tutorial includes source code)
Fleet tutorial 09 basic introduction to navigationrail (tutorial includes source code)
2022-07-05 16:36:00 【Knowledge fatness】
Flet What is it?
Flet It's a framework , Make it easy for you to build real-time in your favorite language Web、 Mobile and desktop applications , And share them safely with your team . No front-end experience .
What is? NavigationRail

A material widget , Designed to be displayed on the left or right side of the application , To navigate between a few views , Usually between three and five .
Combat code
import flet
from flet import (
AppBar,
Icon,
IconButton,
Page,
PopupMenuButton,
PopupMenuItem,
Text,
colors,
icons,
)
def main(page: Page):
def check_item_clicked(e):
e.control.checked = not e.control.checked
page.update()
page.appbar = AppBar(
leading=Icon(icons.PALETTE),
leading_width=40,
title=Text("AppBar Example"),
center_title=False,
bgcolor=colors.SURFACE_VARIANT,
actions=[
IconButton(icons.WB_SUNNY_OUTLINED),
IconB边栏推荐
- 2020-2022两周年创作纪念日
- 新春限定丨“牛年忘烦”礼包等你来领~
- "21 days proficient in typescript-3" - install and build a typescript development environment md
- What is the difference between EDI license and ICP business license
- Spring Festival Limited "forget trouble in the year of the ox" gift bag waiting for you to pick it up~
- Domestic API management artifact used by the company
- PHP 严格模式
- 降本40%!Redis多租户集群的容器化实践
- Some cognitive thinking
- 数据访问 - EntityFramework集成
猜你喜欢

Domestic API management artifact used by the company

Flet教程之 12 Stack 重叠组建图文混合 基础入门(教程含源码)

详解SQL中Groupings Sets 语句的功能和底层实现逻辑

【组队 PK 赛】本周任务已开启 | 答题挑战,夯实商品详情知识

文件操作--I/O

服务器的数据库连不上了2003,10060“Unknown error“【服务已起、防火墙已关、端口已开、netlent 端口不通】

数据访问 - EntityFramework集成

Accès aux données - intégration du cadre d'entité

The database of the server is not connected to 200310060 "unknown error" [the service is up, the firewall is off, the port is on, and the netlent port is not connected]

RLock锁的使用
随机推荐
程序员如何提升自己的格局?
[js] 技巧 简化if 判空
Pits encountered in the use of boolean type in development
为季前卡牌游戏 MotoGP Ignition Champions 做好准备!
《MongoDB入门教程》第04篇 MongoDB客户端
Pspnet | semantic segmentation and scene analysis
How to use FRP intranet penetration +teamviewer to quickly connect to the intranet host at home when mobile office
Data Lake (XIV): spark and iceberg integrated query operation
StarkWare:欲构建ZK“宇宙”
Clear restore the scene 31 years ago, volcanic engine ultra clear repair beyond classic concert
极坐标扇图使用场景与功能详解
Domestic API management artifact used by the company
Apple 已弃用 NavigationView,使用 NavigationStack 和 NavigationSplitView 实现 SwiftUI 导航
降本40%!Redis多租户集群的容器化实践
有序链表集合求交集 方法 总结
一些認知的思考
Relationship between objects and classes
[Netease Yunxin] research and practice of super-resolution technology in the field of real-time audio and video
Single merchant v4.4 has the same original intention and strength!
清晰还原31年前现场,火山引擎超清修复Beyond经典演唱会