first app design

This commit is contained in:
root
2026-05-24 02:35:37 -04:00
parent c842eed601
commit d04c8ce437
138 changed files with 9672 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import 'dart:io';
class AppConstants {
// Android emulator routes localhost as 10.0.2.2; iOS simulator uses localhost fine
static String get baseUrl => Platform.isAndroid
? 'http://10.0.2.2:4000/api/v1'
: 'http://localhost:4000/api/v1';
static const String tokenKey = 'auth_token';
static const String userTypeKey = 'user_type';
static const String userTypeEmployee = 'employee';
static const String userTypeRenter = 'renter';
}