1.开始录制、结束录制增加

2. 增加电量检测、内存检查,是否低于 10%
This commit is contained in:
2026-06-04 18:25:58 +08:00
parent 124b4c1882
commit f49d208042
9 changed files with 267 additions and 0 deletions

View File

@@ -30,4 +30,24 @@ class AppDialog {
},
);
}
static Future<void> deviceHealthAlert(
BuildContext context, {
required List<String> lines,
}) {
return showDialog<void>(
context: context,
builder: (dialogContext) {
return AlertDialog(
content: Text(lines.join('\n')),
actions: [
TextButton(
onPressed: () => Navigator.of(dialogContext).pop(),
child: const Text('确定'),
),
],
);
},
);
}
}