diff --git a/lib/store/shopping/activity_prefecture_details.dart b/lib/store/shopping/activity_prefecture_details.dart index 8c6f6934..899c9b07 100644 --- a/lib/store/shopping/activity_prefecture_details.dart +++ b/lib/store/shopping/activity_prefecture_details.dart @@ -812,22 +812,22 @@ class _ActivityPrefectureDetails extends State { 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) + ])), ) ], )),