当前位置:网站首页>Flet教程之 18 Divider 分隔符组件 基础入门(教程含源码)
Flet教程之 18 Divider 分隔符组件 基础入门(教程含源码)
2022-07-07 09:46:00 【知识大胖】
Flet教程之 18 Divider 分隔符组件 基础入门(教程含源码)
Flet是什么
Flet 是一个框架,使您能够轻松地以您喜欢的语言构建实时 Web、移动和桌面应用程序,并与您的团队安全地共享它们。无需前端经验。
什么是Divider
一条细的水平线,两边都有填充,这代表了一个分隔符。
实战代码

import flet
from flet import Column, Container, Divider, Page, alignment, colors
def main(page: Page):
page.add(
Column(
[
Container(
bgcolor=colors.AMBER,
alignment=alignment.center,
expand=True,
),
Divider(),
Container(bgcolor=colors.PINK, alignment=alignment.center, expand=True),
Divider(height=1, color="white"),
Container(
边栏推荐
- QT | multiple windows share a prompt box class
- QT implements the delete method of the container
- 在我有限的软件测试经历里,一段专职的自动化测试经验总结
- Nuclear boat (I): when "male mothers" come into reality, can the biotechnology revolution liberate women?
- 什么是高内聚、低耦合?
- 科普达人丨一文弄懂什么是云计算?
- 本地navicat连接liunx下的oracle报权限不足
- 清华姚班程序员,网上征婚被骂?
- Use metersphere to keep your testing work efficient
- 总结了200道经典的机器学习面试题(附参考答案)
猜你喜欢

Talk about SOC startup (VI) uboot startup process II

Cmu15445 (fall 2019) project 2 - hash table details

清华姚班程序员,网上征婚被骂?

Tsinghua Yaoban programmers, online marriage was scolded?

Some opinions and code implementation of Siou loss: more powerful learning for bounding box regression zhora gevorgyan

LeetCode - 面试题17.24 最大子矩阵

Technology sharing | packet capturing analysis TCP protocol

【滤波跟踪】基于matlab捷联惯导仿真【含Matlab源码 1935期】

相机标定(2): 单目相机标定总结

学习笔记|数据小白使用DataEase制作数据大屏
随机推荐
如何在博客中添加Aplayer音乐播放器
Solve the problem that vscode can only open two tabs
Verilog realizes nixie tube display driver [with source code]
Internet Protocol
'module 'object is not callable error
Qt|多个窗口共有一个提示框类
清华姚班程序员,网上征婚被骂?
R语言使用quantile函数计算评分值的分位数(20%、40%、60%、80%)、使用逻辑操作符将对应的分位区间(quantile)编码为分类值生成新的字段、strsplit函数将学生的名和姓拆分
【滤波跟踪】基于matlab捷联惯导仿真【含Matlab源码 1935期】
Zhou Yajin, a top safety scholar of Zhejiang University, is a curiosity driven activist
How to write test cases for test coupons?
Case study of Jinshan API translation function based on retrofit framework
Complete collection of common error handling in MySQL installation
R language uses image of magick package_ Mosaic functions and images_ The flatten function stacks multiple pictures together to form a stack layers on top of each other
【滤波跟踪】基于matlab扩展卡尔曼滤波EKF和无迹卡尔曼滤波UKF比较【含Matlab源码 1933期】
SwiftUI Swift 内功之 Swift 中使用不透明类型的 5 个技巧
简单介绍一下闭包及它的一些应用场景
Flet教程之 17 Card卡片组件 基础入门(教程含源码)
Activity lifecycle
博客搬家到知乎