|
|
|
@ -812,22 +812,22 @@ class _ActivityPrefectureDetails extends State<ActivityPrefectureDetails> {
|
|
|
|
|
color: Color(0xFFF5F5F5), |
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
width: productList.sellCount == null |
|
|
|
|
width: productList.sellCount == 0 |
|
|
|
|
? 0 |
|
|
|
|
: (((productList?.sellCount ?? 0) / |
|
|
|
|
(productList?.productStock ?? |
|
|
|
|
0)) * |
|
|
|
|
180.w) |
|
|
|
|
.toDouble(), |
|
|
|
|
(productList?.productStock ?? |
|
|
|
|
0)) * |
|
|
|
|
180.w) |
|
|
|
|
.toDouble(), |
|
|
|
|
height: 8.h, |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
gradient: LinearGradient( |
|
|
|
|
begin: Alignment.centerLeft, |
|
|
|
|
end: Alignment.centerRight, |
|
|
|
|
colors: [ |
|
|
|
|
Color(0xFFFDBA56), |
|
|
|
|
Color(0xFFFB2B2B) |
|
|
|
|
])), |
|
|
|
|
Color(0xFFFDBA56), |
|
|
|
|
Color(0xFFFB2B2B) |
|
|
|
|
])), |
|
|
|
|
) |
|
|
|
|
], |
|
|
|
|
)), |
|
|
|
|