-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.dart
76 lines (66 loc) · 1.75 KB
/
constants.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// ignore_for_file: use_key_in_widget_constructors, sized_box_for_whitespace
import 'package:flutter/material.dart';
// constant properties
const kBackgroundColor = Color(0xff1f1f2b);
const kContainerColor = Color(0xff2b2b38);
const kHeadingColor = Color(0xffb3b3b7);
const kSubHeadingColor = Color(0xff43414c);
const kiconColor = Color(0xfffdd85e);
const kiconborderColor = Color(0xfffcf6af);
const kangleiconsize = 20.0;
// Text styles
const kTextStyle = TextStyle(
color: Color(0xffb3b3b7),
fontSize: 20.0,
fontWeight: FontWeight.bold,
);
// heading text style
const kHeadingTextStyle = TextStyle(
color: kHeadingColor,
fontSize: 20.0,
fontWeight: FontWeight.bold,
);
//herocard text style
const kHeroTextStyle = TextStyle(
color: Color(0xff2b2b38),
fontSize: 20.0,
fontWeight: FontWeight.bold,
);
// heroamount text style
const kHeroNumbStyle = TextStyle(
color: Color(0xff2b2b38),
fontSize: 35.0,
fontWeight: FontWeight.bold,
);
//hero usd text style
const kUsdTextStyle = TextStyle(
color: Color(0xfffdd85e),
fontSize: 15.0,
fontWeight: FontWeight.bold,
);
// sizedboxs
const kheightbox = SizedBox(height: 10.0);
const kwidthbox = SizedBox(width: 10.0);
//normal textstyle
const knormalTextStyle = TextStyle(
color: Color(0xff4b4a52),
fontSize: 16.0,
fontWeight: FontWeight.bold,
);
// normal light textstyle
const knormalightTextStyle = TextStyle(
color: kHeadingColor,
fontSize: 16.0,
fontWeight : FontWeight.bold,
);
//profitpercent textstyle
const kProfitpercentstyle = TextStyle(
color: Colors.green,
fontSize: 10.0,
);
//viewall text style
const kViewallstyle = TextStyle(
color: Color(0xFF43414C),
fontSize: 14.0,
fontWeight: FontWeight.bold,
);