From 4aaa5bbd60296659ca4c2008f8b8e16299968c67 Mon Sep 17 00:00:00 2001 From: Vicky <10212746+haifeng-jiang@user.noreply.gitee.com> Date: Thu, 29 Oct 2026 11:27:53 +0800 Subject: [PATCH] =?UTF-8?q?build(deps):=20=E6=98=BE=E5=BC=8F=E5=A3=B0?= =?UTF-8?q?=E6=98=8E=20intl=20=E4=BE=9D=E8=B5=96=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=8E=89=20CI=20=E9=9B=B6=E5=91=8A=E8=AD=A6=E9=97=A8=E7=A6=81?= =?UTF-8?q?=E7=9A=84=E5=AD=98=E9=87=8F=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 播放量格式化直接用了 NumberFormat,但 intl 只是 flutter_localizations 的传递依赖; 新增的 dart analyze --fatal-infos 流水线会因此失败,这里按 flutter_localizations 钉住的版本显式声明。 --- pubspec.lock | 2 +- pubspec.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pubspec.lock b/pubspec.lock index f6fdda0..eec0a23 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -245,7 +245,7 @@ packages: source: sdk version: "0.0.0" intl: - dependency: transitive + dependency: "direct main" description: name: intl sha256: "1ca20c894b1717686a2319b8548763d812bc0aabdac580420a44c5178c57a867" diff --git a/pubspec.yaml b/pubspec.yaml index 53a0714..753e1bb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -45,6 +45,8 @@ dependencies: sdk: flutter path_provider: 2.1.5 html: ^0.15.6 + # 播放量等数字的本地化格式(NumberFormat);版本由 flutter_localizations 钉住 + intl: any # 画中画:Android 原生 PiP,OnLeavePiP 支持退后台自动进小窗 floating: ^6.0.0 # 运行时权限:systemAlertWindow(「显示在其他应用上层」)