Commit code. Update time: 2023-06-25
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class AppDimens {
|
||||
static const double maxWidth = 1080.0;
|
||||
static const double maxHeight = 1920.0;
|
||||
static const double bigTextSize = 13.0;
|
||||
}
|
||||
@@ -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";
|
||||
}
|
||||
@@ -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';
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
class AppUrls {
|
||||
// static const String baseUrl = 'https://user.51mdss.com'; // 基础接口地址
|
||||
// static const String baseUrl = "https://www.58mdss.com";
|
||||
static const String baseUrl = "https://gohash123.com";
|
||||
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 login = 'https://www.heyuegendan.com/vpn/login.php';
|
||||
// static const String register = 'https://www.heyuegendan.com/vpn/register.php';
|
||||
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';
|
||||
}
|
||||
Reference in New Issue
Block a user