请求重写修复名称为空

This commit is contained in:
wanghongenpin
2023-12-03 20:39:55 +08:00
parent 7c15e97829
commit ec302db5d7
4 changed files with 9 additions and 4 deletions

View File

@@ -203,7 +203,7 @@ class _RequestRuleListState extends State<RequestRuleList> {
padding: const EdgeInsets.all(5),
child: Row(
children: [
SizedBox(width: 130, child: Text(list[index].name!, style: const TextStyle(fontSize: 13))),
SizedBox(width: 130, child: Text(list[index].name ?? '', style: const TextStyle(fontSize: 13))),
SizedBox(
width: 40,
child: SwitchWidget(