// import 'pages/kisi/giris/login_view.dart'; import 'package:fikoyt_hmi_pano/apps/base_page.dart'; import 'package:fikoyt_hmi_pano/apps/pages/fikoyt_merkez/fikoyt_merkez.page.dart'; import 'package:fikoyt_hmi_pano/apps/pages/screen_1/controller/screen.controller.dart'; import 'package:fikoyt_hmi_pano/apps/pages/screen_1/pages/ayarlar/score_widget.dart'; import 'package:fikoyt_hmi_pano/apps/pages/screen_1/pages/intro/intro.dart'; import 'package:fikoyt_hmi_pano/apps/pages/screen_1/pages/person_dash/person_dash.dart'; import 'package:fikoyt_hmi_pano/apps/pages/screen_1/pages/unknown_dash/unknown_dash.dart'; import 'package:fikoyt_hmi_pano/apps/pages/screen_1/screen1_base.widget.dart'; import 'package:fikoyt_ui/fikoyt_ui.dart'; List routes = [ // VRouteRedirector( // path: '/', // redirectTo: "/fikoyt-login", // ), /** Kiosk Uygulama Sayfası */ VWidget( path: '/', widget: FikoYTMerkezSayfa(), ), /** Kiosk Uygulama Sayfası */ VWidget( path: '/hmi-home', widget: Screen1BaseWidget(), ), /** Screen_1 */ VNester( path: '/screen-1', widgetBuilder: (child) => BasePageWidget( child: Screen1BaseWidget(child: child), ), nestedRoutes: [ VWidget( path: 'intro', widget: VWidgetGuard( afterEnter: (context, from, to) { Screen1Controller screenLogic = Get.put(Screen1Controller()); if (screenLogic.nfcKullanici.value == null) { context.vRouter.to("/screen-1/person-dash"); } }, child: IntroWidget(), ), ), VWidget( path: 'person-dash', widget: PersonDashWidget(), ), VWidget( path: 'unknown-dash', widget: UnknownDashWidget(), ), VWidget( path: 'ayarlar', widget: AyarlarPage(), ), ], ), ];