From 23ba95d326afb42d6eb5cb45459da92f903408ce Mon Sep 17 00:00:00 2001 From: Ponshu Developer Date: Wed, 15 Apr 2026 13:37:25 +0900 Subject: [PATCH] fix: restore badgeColor null-assert (dart analyze false positive) Co-Authored-By: Claude Sonnet 4.6 --- lib/screens/sake_detail/sections/sake_basic_info_section.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/sake_detail/sections/sake_basic_info_section.dart b/lib/screens/sake_detail/sections/sake_basic_info_section.dart index 7574956..7aedffd 100644 --- a/lib/screens/sake_detail/sections/sake_basic_info_section.dart +++ b/lib/screens/sake_detail/sections/sake_basic_info_section.dart @@ -95,9 +95,9 @@ class SakeBasicInfoSection extends ConsumerWidget { child: Container( padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 4), decoration: BoxDecoration( - color: badgeColor.withValues(alpha: 0.1), + color: badgeColor!.withValues(alpha: 0.1), borderRadius: BorderRadius.circular(20), - border: Border.all(color: badgeColor.withValues(alpha: 0.4)), + border: Border.all(color: badgeColor!.withValues(alpha: 0.4)), ), child: Row( mainAxisSize: MainAxisSize.min,