Nahrungstracker/app/pages/settings.py

22 lines
461 B
Python
Raw Permalink Normal View History

2024-06-23 14:02:09 +02:00
import flet as ft
2024-07-02 18:44:27 +02:00
class Settings(ft.Control):
2024-06-23 14:02:09 +02:00
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")
)