chore: 清理废弃代码和 lint 警告

- 删除旧的 _chip 方法(服药次数改用滚轮后遗留)
- 移除多余的 ! 非空断言
This commit is contained in:
MingNian
2026-06-26 19:32:28 +08:00
parent fa2cc994fa
commit a748c316f2
2 changed files with 1 additions and 20 deletions

View File

@@ -306,7 +306,7 @@ class _DoctorReportDetailPageState
width: double.infinity,
child: OutlinedButton.icon(
onPressed: () {
pushRoute(ref, 'reportOriginal', params: {'url': fileUrl!, 'title': '原始报告'});
pushRoute(ref, 'reportOriginal', params: {'url': fileUrl, 'title': '原始报告'});
},
icon: const Icon(Icons.visibility, size: 18),
label: const Text('查看原始报告'),