From 0b9ba16eb5216de563613c898693599a4ef36c40 Mon Sep 17 00:00:00 2001 From: sensuikan1973 Date: Thu, 12 Dec 2024 17:59:38 +0900 Subject: [PATCH] analyze. See: https://docs.flutter.dev/release/breaking-changes/wide-gamut-framework#opacity --- lib/board/pedax_board.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/board/pedax_board.dart b/lib/board/pedax_board.dart index c09c7e8a4..04629ec8f 100644 --- a/lib/board/pedax_board.dart +++ b/lib/board/pedax_board.dart @@ -231,7 +231,7 @@ class PedaxBoardState extends State { required final bool searchHasCompleted, }) { final color = isBestMove ? Colors.lightBlue[200] : Colors.lime; - if (!searchHasCompleted && !isBookMove) return color?.withOpacity(0.3); + if (!searchHasCompleted && !isBookMove) return color?.withValues(alpha: 0.3); return color; } }