flet web test

This commit is contained in:
2026-03-20 12:11:55 +05:00
parent bf58b2d592
commit 04bfff3d3f
5 changed files with 297 additions and 0 deletions

9
web/view.py Normal file
View File

@@ -0,0 +1,9 @@
import flet as ft
from views import main_view
def ViewsHendler(page: ft.Page):
return {
"/main": main_view.MainView(),
"/about": ft.View(route="/about", controls=[ft.Text("О нас",color="#008000", size=20)]),
"/contact": ft.View(route="/contact", controls=[ft.Text("Контакты",color="#FF0000", size=20)])
}