准备进入新的测试阶段,先做一个snapshot(此版本下不可用)

This commit is contained in:
2026-08-31 20:51:09 +08:00
parent eb46c53f9a
commit b86a5d2b46
17 changed files with 95 additions and 47 deletions
+2 -1
View File
@@ -46,7 +46,8 @@ class GlobalMiniPlayer extends StatelessWidget {
child: InkWell(
onTap: () {
// ⭐ 使用 Navigator.of(context) 替代 navigatorKey
Navigator.of(context).pushNamed('/player');
Navigator.of(context, rootNavigator: true)
.pushNamed('/player');
},
// ⭐ 替换弃用的 withOpacity 为 withValues
highlightColor: Colors.white.withValues(alpha: 0.05),