Added AppViews

This commit is contained in:
2024-04-20 16:59:36 +00:00
parent 2c011a6c34
commit 558a9abecc
21 changed files with 602 additions and 71 deletions

View File

@ -0,0 +1,5 @@
from .app import App as Ooredoo
__all__ = [
'Ooredoo'
]

View File

@ -0,0 +1,18 @@
import flet as ft
from utils import AppView
def App(page: ft.Page):
return AppView(
'/apps/ooredoo',
[
ft.AppBar(
leading=ft.IconButton(
ft.icons.ARROW_BACK_IOS_NEW_ROUNDED,
on_click=lambda _: page.go('/apps'),
),
title=ft.Text("Ooredoo"),
bgcolor=ft.colors.TRANSPARENT,
),
],
)