update ios project

update ios project
This commit is contained in:
Zeus
2024-07-24 11:51:39 +08:00
parent 876d355b18
commit 1bf69048f3
275 changed files with 3372 additions and 1015 deletions
+11
View File
@@ -0,0 +1,11 @@
import 'package:flutter/material.dart';
class AppColors {
static const MaterialColor themeColor = Colors.green; // Colors.amber;
static const Color yellowColor = Colors.green; // Color(0xFFfbd033);
static const Color grayColor = Color(0xFF2d2d2d);
static const Color darkSurfaceColor = Color(0xff373737);
static const Color whiteColor = Colors.white;
static const MaterialColor greenColor = Colors.green;
}
+5
View File
@@ -0,0 +1,5 @@
class AppDimens {
static const double maxWidth = 1080.0;
static const double maxHeight = 1920.0;
static const double bigTextSize = 13.0;
}
+6
View File
@@ -0,0 +1,6 @@
class AppImages {
static const String notFoundPicture = "assets/images/404.png";
static const String guide1 = "assets/images/guide_1.png";
static const String guide2 = "assets/images/guide_2.png";
static const String guide3 = "assets/images/guide_3.png";
}
+14
View File
@@ -0,0 +1,14 @@
class AppStrings {
static const String appName = 'UUVPN';
static const String token = 'token';
static const String authData = 'auth_data';
static const String userInfo = 'USER_INFO';
static const String userSubscribe = 'USER_SUBSCRIBE';
static const String serverNode = 'SERVER_NODE';
static const String selectServer = 'SELECT_SERVER';
static const String selectServerIndex = 'SELECT_SERVER_INDEX';
static const String selectServerNode = 'SELECT_SERVER_NODE';
static const String isFirstOpen = "IS_FIRST_OPEN";
static const String openDoor = '开启加速服务';
static const String crispWebsiteId = 'b7b8fcd4-9857-42b7-a39d-51fb4930130d';
}
+15
View File
@@ -0,0 +1,15 @@
class AppUrls {
static const String baseUrl = "https://api.0009.uk";
static const String baseApiUrl = '$baseUrl/api/v1'; // 基础接口地址
static const String login = '$baseApiUrl/passport/auth/login';
static const String register = '$baseApiUrl/passport/auth/register';
static const String getQuickLoginUrl =
'$baseApiUrl/passport/auth/getQuickLoginUrl';
static const String userSubscribe = '$baseApiUrl/user/getSubscribe';
static const String plan = '$baseApiUrl/guest/plan/fetch';
static const String server = '$baseApiUrl/user/server/fetch';
static const String userInfo = '$baseApiUrl/user/info';
}