初始化

This commit is contained in:
谢宇宁
2026-09-15 15:44:13 +07:00
commit a23ba685e9
1065 changed files with 101122 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import 'package:flutter/material.dart';
/// 全局色值
class AppColors {
/// 无背景的一级字体颜色 #333333
static const Color mainTextColor33 = Color(0xFF333333);
/// 提示颜色,一般是输入框 hint #999999
static const Color tipTextColor99 = Color(0xFF999999);
/// 主背景色(暗色主题)#0F0F0F
static const Color primaryColor = Color(0xFF0F0F0F);
/// 链接/高亮色 #3E64EA
static const Color primaryHighColor = Color(0xFF3E64EA);
/// 主题强调色,按钮/选中态用(本项目为橙色)#F68804
static const Color actionRed = Color(0xFFF68804);
}
+25
View File
@@ -0,0 +1,25 @@
/// 图片资源路径扩展:'ic_home.png'.homePath => 'assets/images/home/ic_home.png'
extension ImageLoad on String {
//通用
String get commonImgPath => 'assets/images/common/$this';
//首页
String get homePath => 'assets/images/home/$this';
//视频
String get videoPath => 'assets/images/video/$this';
//acg(漫画/小说)
String get acgImgPath => 'assets/images/acg/$this';
//社区
String get communityPath => 'assets/images/community/$this';
//评论
String get commentPath => 'assets/images/comment/$this';
//直播
String get livePath => 'assets/images/live_images/$this';
//ai
String get aiPath => 'assets/images/ai/$this';
//我的
String get mineImgPath => 'assets/images/mine/$this';
//启动页
String get launchPath => 'assets/images/launch/$this';
//app icon
String get appImgPath => 'assets/images/app_icon/$this';
}