当前位置:网站首页>Flet教程之 04 FilledTonalButton基础入门(教程含源码)
Flet教程之 04 FilledTonalButton基础入门(教程含源码)
2022-07-04 18:49:00 【知识大胖】
什么是FilledTonalButton
填充色调按钮是FilledButton和OutlinedButton按钮之间的替代中间地带。它们在优先级较低的按钮需要比大纲给出的强调稍多的情况下很有用,例如入职流程中的“下一步”。色调按钮使用辅助颜色映射。
实战代码
import flet
from flet import FilledTonalButton, Page
def main(page: Page):
page.title = "Basic filled buttons"
page.add(
FilledTonalButton(text="Filled tonal button"),
FilledTonalButton("Disabled button", disabled=True),
FilledTonalButton("Button with icon", icon="add"),
)
flet.app(target=main)
边栏推荐
- 凌云出海记 | 沐融科技&华为云:打造非洲金融SaaS解决方案样板
- [QNX Hypervisor 2.2用户手册]6.3.1 工厂页和控制页
- Basic use of kotlin
- Employment prospects and current situation of Internet of things application technology
- YOLOv5s-ShuffleNetV2
- What should we pay attention to when doing social media marketing? Here is the success secret of shopline sellers!
- New wizard effect used by BCG
- 凌云出海记 | 一零跃动&华为云:共助非洲普惠金融服务
- QT writing the Internet of things management platform 38- multiple database support
- Oracle database, numbers Force 2 decimal places to display-Alibaba Cloud
猜你喜欢
What is involution?
[today in history] July 4: the first e-book came out; The inventor of magnetic stripe card was born; Palm computer pioneer was born
关于联邦学习和激励的相关概念(1)
Actual combat simulation │ JWT login authentication
[in-depth learning] review pytoch's 19 loss functions
Dynamic memory management
Related concepts of federal learning and motivation (1)
What are the consequences of closing the read / write channel?
实践示例理解js强缓存协商缓存
In operation (i.e. included in) usage of SSRs filter
随机推荐
Integretee integrates into Moonriver through xcm, bringing enterprise class privacy solutions to its ecosystem
What is the application technology of neural network and Internet of things
实践示例理解js强缓存协商缓存
C language - Introduction - Foundation - grammar - process control (VII)
Six stones programming: about code, there are six triumphs
多表操作-内连接查询
PHP pseudo original API docking method
Basic use of kotlin
Employment prospects of neural network Internet of things application technology [welcome to add]
NLP, vision, chip What is the development direction of AI? Release of the outlook report of Qingyuan Association [download attached]
In the first month of its launch, the tourist praise rate of this campsite was as high as 99.9%! How did he do it?
NetCore3.1 Json web token 中间件
SSRS筛选器的IN运算(即包含于)用法
Is it safe for Great Wall Securities to open an account? Stock account opening process online account opening
复杂因子计算优化案例:深度不平衡、买卖压力指标、波动率计算
Every time I look at the interface documents of my colleagues, I get confused and have a lot of problems...
Write it down once Net analysis of thread burst height of an industrial control data acquisition platform
Kotlin classes and objects
2022 version of stronger jsonpath compatibility and performance test (snack3, fastjson2, jayway.jsonpath)
凌云出海记 | 文华在线&华为云:打造非洲智慧教学新方案