routes property

List<GetPage> routes
final

Implementation

static final routes = [
  GetPage(
    name: _Paths.HOME,
    page: () => const HomeView(),
    binding: HomeBinding(),
  ),
  GetPage(
    name: _Paths.SIGN_IN,
    page: () => const SignInView(),
    binding: SignInBinding(),
  ),
  GetPage(
    name: _Paths.SIGN_UP,
    page: () => const SignUpView(),
    binding: SignUpBinding(),
  ),
  GetPage(
    name: _Paths.POST_SIGN_UP,
    page: () => const PostSignUpView(),
    binding: PostSignUpBinding(),
  ),
  GetPage(
    name: _Paths.FORGET_PASSSWORD,
    page: () => const ForgetPassswordView(),
    binding: ForgetPassswordBinding(),
  ),
  GetPage(
    name: _Paths.VERIFY_OTP,
    page: () => VerifyOtpView(
      fromSignUp: Get.arguments[0],
      fromSignIn: Get.arguments[1],
      email: Get.arguments[2],
    ),
    binding: VerifyOtpBinding(),
  ),
  GetPage(
    name: _Paths.ONBOARDING,
    page: () => const OnboardingView(),
    binding: OnboardingBinding(),
  ),
  GetPage(
    name: _Paths.CREATE_PASSWORD,
    page: () => const CreatePasswordView(),
    binding: CreatePasswordBinding(),
  ),
  GetPage(
    name: _Paths.SPLASH,
    page: () => const SplashView(),
    binding: SplashBinding(),
  ),
];