当前位置:网站首页>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边栏推荐
- It's hard to hear C language? Why don't you take a look at this (V) pointer
- Hongke case study on storm impact in coastal areas of North Carolina using lidar
- queue
- TCP fast retransmission sack mechanism
- Iterm tab switching order
- Awk getting started to proficient series - awk quick start
- IIS error, unable to start debugging on the webserver
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6
- Interview question MySQL transaction (TCL) isolation (four characteristics)
- [notes] streamingassets
猜你喜欢

Leetcode: 408 sliding window median
![[notes] in depth explanation of assets, resources and assetbundles](/img/e9/ae401b45743ea65986ae01b54e3593.jpg)
[notes] in depth explanation of assets, resources and assetbundles
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 5](/img/68/4f92ca7cbdb90a919711b86d401302.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 5
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23](/img/72/a80ee7ee7b967b0afa6018070d03c9.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23

Practice of retro SOAP Protocol

MPLS experiment
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 12](/img/b1/926d9b3d7ce9c5104f3e81974eef07.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 12

Games101 Lesson 8 shading 2 Notes
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 9](/img/ed/0edff23fbd3880bc6c9dabd31755ac.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 9

Single spa, Qiankun, Friday access practice
随机推荐
Article download address
Openssl3.0 learning 20 provider KDF
[Chongqing Guangdong education] National Open University spring 2019 2727 tax basis reference questions
How to use "bottom logic" to see the cards in the world?
When synchronized encounters this thing, there is a big hole, pay attention!
Hongke case study on storm impact in coastal areas of North Carolina using lidar
Ternsort model integration summary
How to disable debug messages on sockjs stomp - how to disable debug messages on sockjs Stomp
Practice of retro SOAP Protocol
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
昨天的事情想说一下
AI should take code agriculture? Deepmind offers a programming version of "Alpha dog" alphacode that surpasses nearly half of programmers!
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16
C language: find the palindrome number whose 100-999 is a multiple of 7
Recommend a cool geospatial data visualization tool with low code
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 14
DDS-YYDS
[the way of programmer training] - 2 Perfect number calculation
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13
IIS error, unable to start debugging on the webserver