import flet as ft class AppView(ft.View): def __init__(self, route, controls): super().__init__() self.controls = controls self.route = route