forked from lxm_flutter/FlutterUnit
73 lines
1.9 KiB
Dart
73 lines
1.9 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_unit/views/components/permanent/code/highlighter_style.dart';
|
|
|
|
class Cons {
|
|
|
|
static const MENU_INFO = <String>["关于", "帮助", "问题反馈"]; //菜单栏
|
|
|
|
|
|
static const tabColors = [
|
|
0xff44D1FD,
|
|
0xffFD4F43,
|
|
0xffB375FF,
|
|
0xFF4CAF50,
|
|
0xFFFF9800,
|
|
0xFF00F1F1,
|
|
0xFFDBD83F
|
|
];
|
|
|
|
static const tabs = <String>[
|
|
'Stles',
|
|
'Stful',
|
|
'Scrow',
|
|
'Mcrow',
|
|
'Sliver',
|
|
'Proxy',
|
|
'Other'
|
|
]; //标题列表
|
|
|
|
static const fontFamilySupport = <String>[
|
|
'local',
|
|
'ComicNeue',
|
|
'IndieFlower',
|
|
'BalooBhai2',
|
|
'Inconsolata',
|
|
'Neucha'
|
|
];
|
|
|
|
static Map<HighlighterStyle, String> codeThemeSupport = <HighlighterStyle, String>{
|
|
HighlighterStyle.fromColors(HighlighterStyle.gitHub):"GitHub - Power By 张风捷特烈",
|
|
HighlighterStyle.fromColors(HighlighterStyle.darkColor):"捷特黑 - Power By 张风捷特烈",
|
|
HighlighterStyle.fromColors(HighlighterStyle.lightColor):"捷特白 - Power By 张风捷特烈",
|
|
HighlighterStyle.fromColors(HighlighterStyle.zenburn):"zenburn - Power By 张风捷特烈",
|
|
HighlighterStyle.fromColors(HighlighterStyle.mf):"mf - Power By MF",
|
|
HighlighterStyle.fromColors(HighlighterStyle.solarized):"cst - Power By cst",
|
|
};
|
|
|
|
|
|
static final themeColorSupport = <MaterialColor, String>{
|
|
Colors.red: "毁灭之红",
|
|
Colors.orange: "愤怒之橙",
|
|
Colors.yellow: "警告之黄",
|
|
Colors.green: "伪装之绿",
|
|
Colors.blue: "冷漠之蓝",
|
|
Colors.indigo: "无限之靛",
|
|
Colors.purple: "神秘之紫",
|
|
|
|
MaterialColor(0xff2D2D2D, <int, Color>{
|
|
50: Color(0xFF8A8A8A),
|
|
100: Color(0xFF747474),
|
|
200: Color(0xFF616161),
|
|
300: Color(0xFF484848),
|
|
400: Color(0xFF3D3D3D),
|
|
500: Color(0xff2D2D2D),
|
|
600: Color(0xFF252525),
|
|
700: Color(0xFF141414),
|
|
800: Color(0xFF050505),
|
|
900: Color(0xff000000),
|
|
}): "归宿之黑"
|
|
};
|
|
|
|
}
|
|
|