|
...
|
...
|
@@ -303,16 +303,19 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
Text(
|
|
|
|
model.name,
|
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(20),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
]),
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(20),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD,
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
if ((model.taste != null &&
|
|
|
|
model.taste != '' &&
|
|
...
|
...
|
@@ -341,14 +344,17 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(12),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
])),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
)),
|
|
|
|
VEmptyView(20),
|
|
|
|
model.spec != null
|
|
|
|
? Column(
|
|
...
|
...
|
@@ -360,14 +366,17 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(14),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
]),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
...
|
...
|
@@ -394,14 +403,17 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(14),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
]),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
});
|
|
...
|
...
|
@@ -419,14 +431,17 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(20),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
]),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
if ((model.taste != null &&
|
|
|
|
model.taste != '' &&
|
|
...
|
...
|
@@ -455,14 +470,17 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(12),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
])),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
)),
|
|
|
|
VEmptyView(20),
|
|
|
|
model.spec != null
|
|
|
|
? Column(
|
|
...
|
...
|
@@ -474,14 +492,17 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(14),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
]),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
...
|
...
|
@@ -505,14 +526,17 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(20),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
]),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
if ((model.taste != null &&
|
|
|
|
model.taste != '' &&
|
|
...
|
...
|
@@ -541,19 +565,22 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(12),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
]))
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
))
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
HEmptyView(10),
|
|
|
|
model.spec != null
|
|
|
|
model.spec != null
|
|
|
|
? Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: _priceWidget(model))
|
|
...
|
...
|
@@ -563,14 +590,17 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(14),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
]),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
);
|
|
...
|
...
|
@@ -591,14 +621,17 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(20),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
]),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
if ((model.taste != null &&
|
|
|
|
model.taste != '' &&
|
|
...
|
...
|
@@ -629,14 +662,17 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(12),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
]),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
VEmptyView(20),
|
|
|
|
Padding(
|
|
...
|
...
|
@@ -651,14 +687,17 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
style: TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: font(14),
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
shadows: [
|
|
|
|
BoxShadow(
|
|
|
|
color: MyColours.color_FBF6F1,
|
|
|
|
offset: Offset(0, 1),
|
|
|
|
blurRadius: w(2),
|
|
|
|
spreadRadius: w(20))
|
|
|
|
]),
|
|
|
|
color: themeColorData[themeColorIndex].name == '珍珠白'
|
|
|
|
? MyColours.color_515151
|
|
|
|
: MyColours.color_F8F9FD
|
|
|
|
// shadows: [
|
|
|
|
// BoxShadow(
|
|
|
|
// color: MyColours.color_FBF6F1,
|
|
|
|
// offset: Offset(0, 1),
|
|
|
|
// blurRadius: w(2),
|
|
|
|
// spreadRadius: w(20))
|
|
|
|
// ]
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
VEmptyView(30),
|
|
|
|
if (model.image != null)
|
|
...
|
...
|
@@ -960,8 +999,7 @@ class _MenuThemeColorSetPageState extends State<MenuThemeColorSetPage> { |
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
bottom: ScreenUtil().setWidth(14),
|
|
|
|
right:
|
|
|
|
ScreenUtil().setWidth(150),
|
|
|
|
right: ScreenUtil().setWidth(150),
|
|
|
|
child: model.status == '1'
|
|
|
|
? SizedBox()
|
|
|
|
: Image.asset(
|
...
|
...
|
|