mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-05-20 22:36:34 +08:00

1.views 文件夹里面分类,页面相关文件;2.公共组件全部放在components里;3.创建resources文件夹放置资源dart文件4.修改二级菜单文字大小 BREAKING CHANGE: 重构,建议删除本地db,再编译
30 lines
659 B
Dart
30 lines
659 B
Dart
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;
|
|
|
|
}
|