mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-08-06 00:49:46 +08:00
refactor(many files): 页面部分的文件结构调整
1.views 文件夹里面分类,页面相关文件;2.公共组件全部放在components里;3.创建resources文件夹放置资源dart文件4.修改二级菜单文字大小 BREAKING CHANGE: 重构,建议删除本地db,再编译
This commit is contained in:
29
lib/utils/style.dart
Normal file
29
lib/utils/style.dart
Normal file
@ -0,0 +1,29 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
//颜色配置
|
||||
class AppColor{
|
||||
static const int white = 0xFFFFFFFF;
|
||||
static const int mainTextColor = 0xFF121917;
|
||||
static const int subTextColor = 0xff959595;
|
||||
}
|
||||
|
||||
//文本设置
|
||||
class AppText{
|
||||
static const middleSize = 16.0;
|
||||
|
||||
static const middleText = TextStyle(
|
||||
color: Color(AppColor.mainTextColor),
|
||||
fontSize: middleSize,
|
||||
);
|
||||
|
||||
static const middleSubText = TextStyle(
|
||||
color: Color(AppColor.subTextColor),
|
||||
fontSize: middleSize,
|
||||
);
|
||||
}
|
||||
class WidgetDemoColor {
|
||||
static const int fontColor = 0xFF607173;
|
||||
static const int iconColor = 0xFF607173;
|
||||
static const int borderColor = 0xFFEFEFEF;
|
||||
|
||||
}
|
Reference in New Issue
Block a user