feat: 主页面功能
This commit is contained in:
1 parent
91edb73885
commit
f233f1c642
21 files changed
+1295
-104
No files matched your search
@@ -0,0 +1,19 @@
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
class ConstColor {
|
||||
|
||||
// #100C08
|
||||
static Color themeColor = Color(0xff100C08);
|
||||
// #EEEEEE
|
||||
static Color btWhite = Color(0xffEEEEEE);
|
||||
// #89F011
|
||||
static Color btGreen = Color(0xff89F011);
|
||||
|
||||
static Color withValue(String value) {
|
||||
String colorValue = value.replaceAll('#', '');
|
||||
String res = '0xff$colorValue';
|
||||
int valueInt = int.parse(res);
|
||||
return Color(valueInt);
|
||||
}
|
||||
}
|
||||
Whitespace-only changes.
Reference in new issue
Block a user