This commit is contained in:
Hamza-Ayed
2024-05-11 02:34:32 +03:00
parent 750d980fcb
commit 34c7eea513
48 changed files with 260 additions and 222 deletions

View File

@@ -74,7 +74,7 @@ void main() async {
print(Get.deviceLocale!.countryCode);
Stripe.publishableKey = AK.publishableKey;
Get.put(LocationBackgroundController());
// Get.put(LocationBackgroundController());
if (Platform.isAndroid || Platform.isIOS) {
await Firebase.initializeApp(
@@ -146,11 +146,11 @@ class MyApp extends StatelessWidget {
key: UniqueKey(),
// routes: {'/':const HomePage()},
// home: LoginCaptin());
getPages: [
GetPage(name: '/', page: () => SplashScreen()),
GetPage(
name: '/OrderRequestPage/:id', page: () => OrderRequestPage()),
],
// getPages: [
// GetPage(name: '/', page: () => SplashScreen()),
// GetPage(
// name: '/OrderRequestPage/:id', page: () => OrderRequestPage()),
// ],
initialRoute: '/',
home: SplashScreen());
}