feat(audio): 引入audioplayers原生提示音效,修复做完提示音缺失与局域网配置溢出

This commit is contained in:
shen
2026-10-27 04:20:18 -07:00
parent 473fbb93ad
commit 1f794585cd
14 changed files with 289 additions and 13 deletions
+9 -4
View File
@@ -218,15 +218,20 @@ class _LanSyncScreenState extends State<LanSyncScreen> {
),
const SizedBox(height: 8),
// 快捷预设按钮
Row(
Wrap(
spacing: 8,
runSpacing: 8,
children: [
ActionChip(
label: const Text('填入 192.168.21.200:8090', style: TextStyle(fontSize: 11)),
visualDensity: VisualDensity.compact,
avatar: const Icon(Icons.flash_on, size: 14, color: Color(0xFF2563EB)),
label: const Text('192.168.21.200:8090', style: TextStyle(fontSize: 11)),
onPressed: () => setState(() => _urlController.text = 'http://192.168.21.200:8090'),
),
const SizedBox(width: 8),
ActionChip(
label: const Text('填入 localhost:8090', style: TextStyle(fontSize: 11)),
visualDensity: VisualDensity.compact,
avatar: const Icon(Icons.computer, size: 14, color: Color(0xFF475569)),
label: const Text('localhost:8090', style: TextStyle(fontSize: 11)),
onPressed: () => setState(() => _urlController.text = 'http://localhost:8090'),
),
],