1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
| import 'package:flutter/material.dart'; import 'package:get/get.dart';
import '../../pages/index.dart'; import 'index.dart';
class RoutePages { static final RouteObserver<Route> observer = RouteObservers(); static List<String> history = [];
static List<GetPage> list = [ GetPage( name: RouteNames.cartApplyPromoCode, page: () => const ApplyPromoCodePage(), ), GetPage( name: RouteNames.cartBuyDone, page: () => const BuyDonePage(), ), GetPage( name: RouteNames.cartBuyNow, page: () => const BuyNowPage(), ), GetPage( name: RouteNames.cartCartIndex, page: () => const CartIndexPage(), ), GetPage( name: RouteNames.goodsCategory, page: () => const CategoryPage(), ), GetPage( name: RouteNames.goodsHome, page: () => const HomePage(), ), GetPage( name: RouteNames.goodsProductDetails, page: () => const ProductDetailsPage(), ), GetPage( name: RouteNames.goodsProductList, page: () => const ProductListPage(), ), GetPage( name: RouteNames.myAddressEdit, page: () => const AddressEditPage(), ), GetPage( name: RouteNames.myAddressList, page: () => const AddressListPage(), ), GetPage( name: RouteNames.myLanguage, page: () => const LanguagePage(), ), GetPage( name: RouteNames.myMyIndex, page: () => const MyIndexPage(), ), GetPage( name: RouteNames.myOrderDetails, page: () => const OrderDetailsPage(), ), GetPage( name: RouteNames.myOrderList, page: () => const OrderListPage(), ), GetPage( name: RouteNames.myProfileEdit, page: () => const ProfileEditPage(), ), GetPage( name: RouteNames.myTheme, page: () => const ThemePage(), ), GetPage( name: RouteNames.searchSearchFilter, page: () => const SearchFilterPage(), ), GetPage( name: RouteNames.searchSearchIndex, page: () => const SearchIndexPage(), ), GetPage( name: RouteNames.stylesBottomSheet, page: () => const BottomSheetPage(), ), GetPage( name: RouteNames.stylesButtons, page: () => const ButtonsPage(), ), GetPage( name: RouteNames.stylesCarousel, page: () => const CarouselPage(), ), GetPage( name: RouteNames.stylesComponents, page: () => const ComponentsPage(), ), GetPage( name: RouteNames.stylesGroupList, page: () => const GroupListPage(), ), GetPage( name: RouteNames.stylesInputs, page: () => const InputsPage(), ), GetPage( name: RouteNames.stylesOther, page: () => const OtherPage(), ), GetPage( name: RouteNames.stylesStylesIndex, page: () => const StylesIndexPage(), ), GetPage( name: RouteNames.stylesText, page: () => const TextPage(), ), GetPage( name: RouteNames.stylesTextForm, page: () => const TextFormPage(), ), GetPage( name: RouteNames.stylesIcon, page: () => const IconPage(), ), GetPage( name: RouteNames.stylesImage, page: () => const ImagePage(), ), GetPage( name: RouteNames.systemLogin, page: () => const LoginPage(), ), GetPage( name: RouteNames.systemMain, page: () => const MainPage(), ), GetPage( name: RouteNames.systemRegister, page: () => const RegisterPage(), ), GetPage( name: RouteNames.systemRegisterPin, page: () => const RegisterPinPage(), ), GetPage( name: RouteNames.systemSplash, page: () => const SplashPage(), ), GetPage( name: RouteNames.systemUserAgreement, page: () => const UserAgreementPage(), ), ]; }
|