当前位置:网站首页>18 basic introduction to divider separator component of fleet tutorial (tutorial includes source code)

18 basic introduction to divider separator component of fleet tutorial (tutorial includes source code)

2022-07-07 11:45:00 Knowledge fatness

Flet Tutorial of 18 Divider Separator component Basic introduction ( Tutorial with source code )

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? Divider

A thin horizontal line , Filled on both sides , This represents a separator .

Combat code

 screenshots 2022-07-04 15.56.02.png

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(
 
原网站

版权声明
本文为[Knowledge fatness]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/07/202207070945546870.html