w-R 3 years ago
parent
commit
b488cd0904
  1. 16
      lib/store/shopping/activity_prefecture_details.dart

16
lib/store/shopping/activity_prefecture_details.dart

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

Loading…
Cancel
Save