watch_theme_models.dart
4.35 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
import 'package:doublefeel_flutter/r.dart';
import 'package:flutter/foundation.dart';
class WatchThemeItem {
const WatchThemeItem({
this.id,
this.isCustomTheme = false,
this.isDefaultCharacter = false,
required this.title,
required this.infoList,
});
final int? id;
final bool isDefaultCharacter;
final bool isCustomTheme;
final String title;
final List<WatchThemeItemInfo> infoList;
}
class WatchThemeItemInfo {
final String title;
final String? imgUrl;
final String? assetPath;
WatchThemeItemInfo({required this.title, this.imgUrl, this.assetPath});
}
final officialThemes = <WatchThemeItem>[
WatchThemeItem(
title: '默认主题',
isDefaultCharacter: true,
infoList: [
WatchThemeItemInfo(
title: '状态优秀',
assetPath: 'assets/images/watch_theme/official_default_green.png',
),
WatchThemeItemInfo(
title: '状态正常',
assetPath: 'assets/images/watch_theme/official_default_blue.png',
),
WatchThemeItemInfo(
title: '注意压力',
assetPath: 'assets/images/watch_theme/official_default_orange.png',
),
WatchThemeItemInfo(
title: '压力过载',
assetPath: 'assets/images/watch_theme/official_default_red.png',
),
],
),
WatchThemeItem(
title: '垂耳粉兔',
infoList: [
WatchThemeItemInfo(
title: '状态优秀',
assetPath: 'assets/images/watch_theme/official_rabbit_pink.png',
),
WatchThemeItemInfo(
title: '状态正常',
assetPath: 'assets/images/watch_theme/official_rabbit_pink.png',
),
WatchThemeItemInfo(
title: '注意压力',
assetPath: 'assets/images/watch_theme/official_rabbit_pink.png',
),
WatchThemeItemInfo(
title: '压力过载',
assetPath: 'assets/images/watch_theme/official_rabbit_pink.png',
),
],
),
WatchThemeItem(
title: '蓝象哥哥',
infoList: [
WatchThemeItemInfo(
title: '状态优秀',
assetPath: 'assets/images/watch_theme/official_elephant_blue.png',
),
WatchThemeItemInfo(
title: '状态正常',
assetPath: 'assets/images/watch_theme/official_elephant_blue.png',
),
WatchThemeItemInfo(
title: '注意压力',
assetPath: 'assets/images/watch_theme/official_elephant_blue.png',
),
WatchThemeItemInfo(
title: '压力过载',
assetPath: 'assets/images/watch_theme/official_elephant_blue.png',
),
],
),
WatchThemeItem(
title: '小狗白白',
infoList: [
WatchThemeItemInfo(
title: '状态优秀',
assetPath: 'assets/images/watch_theme/official_dog_white.png',
),
WatchThemeItemInfo(
title: '状态正常',
assetPath: 'assets/images/watch_theme/official_dog_white.png',
),
WatchThemeItemInfo(
title: '注意压力',
assetPath: 'assets/images/watch_theme/official_dog_white.png',
),
WatchThemeItemInfo(
title: '压力过载',
assetPath: 'assets/images/watch_theme/official_dog_white.png',
),
],
),
WatchThemeItem(
title: '猫猫狗狗',
infoList: [
WatchThemeItemInfo(
title: '状态优秀',
assetPath: 'assets/images/watch_theme/custom_cat_dog.png',
),
WatchThemeItemInfo(
title: '状态正常',
assetPath: 'assets/images/watch_theme/custom_cat_dog.png',
),
WatchThemeItemInfo(
title: '注意压力',
assetPath: 'assets/images/watch_theme/custom_cat_dog.png',
),
WatchThemeItemInfo(
title: '压力过载',
assetPath: 'assets/images/watch_theme/custom_cat_dog.png',
),
],
),
];
final customThemes = <WatchThemeItem>[
WatchThemeItem(
title: '猫猫狗狗-AAA',
infoList: [
WatchThemeItemInfo(
title: '状态优秀',
assetPath: 'assets/images/watch_theme/custom_cat_dog.png',
),
WatchThemeItemInfo(
title: '状态正常',
assetPath: 'assets/images/watch_theme/custom_cat_dog.png',
),
WatchThemeItemInfo(
title: '注意压力',
assetPath: 'assets/images/watch_theme/custom_cat_dog.png',
),
WatchThemeItemInfo(
title: '压力过载',
assetPath: 'assets/images/watch_theme/custom_cat_dog.png',
),
],
),
];