22 lines
465 B
Python
22 lines
465 B
Python
|
import flet as ft
|
||
|
class Settings(ft.UserControl):
|
||
|
def __init__(self) -> None:
|
||
|
super().__init__()
|
||
|
|
||
|
|
||
|
# Initialize controls
|
||
|
self.main_container = ft.Container(
|
||
|
content=ft.Column([ft.Text("huhu")]),
|
||
|
border_radius=10,
|
||
|
padding=15
|
||
|
)
|
||
|
|
||
|
def build(self):
|
||
|
return ft.Column(self.controls)
|
||
|
|
||
|
def create_appbar(self):
|
||
|
return ft.AppBar(
|
||
|
title=ft.Text("Settings")
|
||
|
)
|
||
|
|