import 'package:flutter_kinetra/kt_pages/kt_home/kt_search_page.dart'; import 'package:get/get_navigation/src/routes/get_route.dart'; import 'kt_main_page/view.dart'; import 'kt_mine/insert_web/wallet_page.dart'; import 'kt_mine/kt_about_us_page.dart'; import 'kt_mine/kt_store/view.dart'; import 'kt_short_video/view.dart'; import 'kt_splash_page.dart'; import 'kt_webview_page.dart'; class KtRoutes { static const String splash = '/'; static const String home = '/main'; static const String search = '/search'; static const String category = '/category'; static const String shortVideo = '/short_video'; static const String store = '/store'; static const String wallet = '/wallet'; static const String helpCenter = '/help_center'; static const String helpCenterList = '/help_center_list'; static const String helpCenterDetail = '/help_center_detail'; static const String webView = '/web_view'; static const String signInActivity = '/sign_in_activity'; static const String refill = '/refill'; static const String aboutUs = '/about_us'; static final routes = [ GetPage(name: splash, page: () => const KtSplashPage()), GetPage(name: home, page: () => const KtMainPage()), GetPage(name: search, page: () => const KtSearchPage()), // GetPage(name: category, page: () => const CategoryPage()), GetPage( name: shortVideo, page: () => const VideoPlayPage(), preventDuplicates: false, ), GetPage(name: store, page: () => KtStorePage()), GetPage(name: wallet, page: () => const WalletPage()), GetPage(name: aboutUs, page: () => const KtAboutUsPage()), // GetPage(name: helpCenter, page: () => const HelpCenterPage()), // GetPage(name: helpCenterList, page: () => const HelpCenterListPage()), // GetPage(name: helpCenterDetail, page: () => const HelpCenterDetailPage()), GetPage( name: webView, page: () => const KtWebViewPage(url: 'url'), ), ]; }