当前位置:网站首页>Fly tutorial 02 advanced functions of elevatedbutton (tutorial includes source code) (tutorial includes source code)
Fly tutorial 02 advanced functions of elevatedbutton (tutorial includes source code) (tutorial includes source code)
2022-07-04 12:36:00 【Knowledge fatness】
ElevatedButton What is it?
ElevatedButton It is essentially a fill tone button with shadows . To prevent shadow spreading , Please use them only when absolutely necessary , For example, when the button needs to be visually separated from the pattern background .
With many customized contents button
import flet
from flet import (
Column,
Container,
ElevatedButton,
Icon,
Page,
Row,
Text,
icons,
padding,
)
def main(page: Page):
page.title = "Elevated buttons with custom content"
page.add(
ElevatedButton(
width=150,
content=Row(
[
Icon(name=icons.FAVORITE, color="pink"),
Icon(name=icons.AUDIOTRACK, color="green"),
Icon(name=icons.BEACH_ACCESS, color="blue"),
],
alignment="spaceAround",
),
),
El
边栏推荐
- 昨天的事情想说一下
- 03_ Armv8 instruction set introduction load and store instructions
- Openssl3.0 learning 20 provider KDF
- How to judge the advantages and disadvantages of low code products in the market?
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 20
- Article download address
- Azure solution: how can third-party tools call azure blob storage to store data?
- Introduction to random and threadlocalrandom analysis
- Realize cross tenant Vnet connection through azure virtual Wan
猜你喜欢
Error: Failed to download metadata for repo ‘AppStream‘: Cannot download repomd. XML solution
Experiment 7. IPv6
Clion configuration of opencv
Hongke case study on storm impact in coastal areas of North Carolina using lidar
Complementary knowledge of auto encoder
Servlet learning notes
22 API design practices
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 5
TCP fast retransmission sack mechanism
Realize cross tenant Vnet connection through azure virtual Wan
随机推荐
Ternsort model integration summary
Bottom Logic -- Mind Map
C language memory layout
记一次 Showing Recent Errors Only Command /bin/sh failed with exit code 1 问题
Unity performance optimization reading notes - explore performance issues -profiler (2.1)
C language compilation process
Workplace liquor bureau must pay attention to
The latest idea activation cracking tutorial, idea permanent activation code, the strongest in history
[notes] in depth explanation of assets, resources and assetbundles
Lvs+kept highly available cluster
PKCs 5: password based cryptography specification version 2.1 Chinese Translation
01. Basics - MySQL overview
VBA, JSON interpretation, table structure -json string conversion
When synchronized encounters this thing, there is a big hole, pay attention!
22 API design practices
Translation D29 (with AC code POJ 27:mode of sequence)
Xshell's ssh server rejected the password, failed to skip publickey authentication, and did not register with the server
What if the chat record is gone? How to restore wechat chat records on Apple Mobile
MPLS experiment
The detailed installation process of Ninja security penetration system (Ninjitsu OS V3). Both old and new VM versions can be installed through personal testing, with download sources