fix: 清零 flutter analyze 问题并修复隐私红线正则缺陷(CI 门禁)
CI / flutter-gates (push) Successful in 50s

- 修复真实缺陷:隐私红线 RegExp 使用 Dart 不支持的 (?i) 内联标志,构造即抛异常
  导致带 props 的事件被静默丢弃;改为 caseSensitive: false
- 清理埋点模块未用 import/字段/变量(4 warning)
- 构造函数改用初始化形参(含 Dart 3.12 私有具名参数)
- E2E 手动脚本声明 ignore avoid_print + library 指令
- 门禁:format 0 changed / analyze No issues / flutter test 34 passed
This commit is contained in:
2026-09-04 19:44:46 +08:00
parent 45f94d2558
commit 3f8388e5d4
3 changed files with 61 additions and 45 deletions
+2 -2
View File
@@ -35,9 +35,9 @@ class ApiAuthRepository implements AuthRepository {
required this._api,
required this._session,
required this._refresher,
AnalyticsService? analytics,
this._analytics,
this._uuid = const Uuid(),
}) : _analytics = analytics;
});
final ApiClient _api;
final SessionManager _session;