Added AppViews
This commit is contained in:
5
apps/plugins/ooredoo/__init__.py
Normal file
5
apps/plugins/ooredoo/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
from .app import App as Ooredoo
|
||||
|
||||
__all__ = [
|
||||
'Ooredoo'
|
||||
]
|
18
apps/plugins/ooredoo/app.py
Normal file
18
apps/plugins/ooredoo/app.py
Normal 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,
|
||||
),
|
||||
],
|
||||
)
|
Reference in New Issue
Block a user