You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.9 KiB

import 'package:get/get.dart';
import '../../modules/home/views/home_view.dart';
import '../../modules/home/bindings/home_binding.dart';
import '../../modules/explore/views/explore_view.dart';
import '../../modules/explore/bindings/explore_binding.dart';
import '../../modules/profile/views/profile_view.dart';
import '../../modules/profile/bindings/profile_binding.dart';
import '../../modules/chat/bindings/chat_binding.dart';
import '../../modules/chat/views/chat_view.dart';
import '../../modules/test/views/tts_test_view.dart';
import '../../modules/test/views/asr_test_view.dart';
import '../../modules/test/bindings/test_binding.dart';
import '../../modules/translation/views/translation_view.dart';
import '../../modules/translation/bindings/translation_binding.dart';
// import '../../modules/speech_demo/speech_demo_page.dart'; // This file doesn't exist
import './app_routes.dart';
abstract class AppPages {
static final pages = [
GetPage(
name: Routes.home,
page: () => const HomeView(),
binding: HomeBinding(),
),
GetPage(
name: Routes.explore,
page: () => const ExploreView(),
binding: ExploreBinding(),
),
GetPage(
name: Routes.chat,
page: () => const ChatView(),
binding: ChatBinding(),
),
GetPage(
name: Routes.profile,
page: () => const ProfileView(),
binding: ProfileBinding(),
),
// Commented out because SpeechDemoPage doesn't exist
// GetPage(
// name: Routes.speechDemo,
// page: () => const SpeechDemoPage(),
// ),
GetPage(
name: Routes.TTS_TEST,
page: () => TtsTestView(),
binding: TtsTestBinding(),
),
GetPage(
name: Routes.ASR_TEST,
page: () => AsrTestView(),
binding: AsrTestBinding(),
),
GetPage(
name: Routes.translation,
page: () => const TranslationView(),
binding: TranslationBinding(),
),
];
}