import 'package:flutter/material.dart'; import 'package:flutter_unit/app/style/TolyIcon.dart'; import 'package:flutter_unit/components/permanent/code/highlighter_style.dart'; class Cons { static String version = 'V1.1.1'; static const MENU_INFO = ["关于", "帮助", "问题反馈"]; //菜单栏 static const ICONS_MAP = { //底栏图标 "图鉴": TolyIcon.icon_layout, "收藏": TolyIcon.icon_star, // "喜欢": Icons.favorite, "手册": Icons.class_, // "我的": Icons.account_circle, }; static const tabColors = [ 0xff44D1FD, 0xffFD4F43, 0xffB375FF, 0xFF4CAF50, 0xFFFF9800, 0xFF00F1F1, 0xFFDBD83F ]; static const tabs = [ 'Stles', 'Stful', 'Scrow', 'Mcrow', 'Sliver', 'Proxy', 'Other' ]; //标题列表 static const fontFamilySupport = [ 'local', 'ComicNeue', 'IndieFlower', 'BalooBhai2', 'Inconsolata', 'Neucha' ]; static var codeThemeSupport = { 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 = { Colors.red: "毁灭之红", Colors.orange: "愤怒之橙", Colors.yellow: "警告之黄", Colors.green: "伪装之绿", Colors.blue: "冷漠之蓝", Colors.indigo: "无限之靛", Colors.purple: "神秘之紫", MaterialColor(0xff2D2D2D, { 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), }): "归宿之黑" }; }