feat:更新提示文字信息

This commit is contained in:
2025-11-21 15:03:00 +08:00
parent f133e5ce13
commit 538151ca88
2 changed files with 5 additions and 14 deletions

View File

@@ -148,8 +148,7 @@ class _CalendarFormState extends State<CalendarForm> {
});
},
decoration: InputDecoration(
labelText:
startTime == null ? '选择开始时间' : '开始时间: ${formatTime(startTime)}',
labelText: startTime == null ? '选择开始时间' : '开始时间: ',
labelStyle: TextStyle(color: Colors.grey),
prefixIcon: Icon(Icons.calendar_month, color: Colors.purple),
border: buildFormBoard(),
@@ -197,7 +196,7 @@ class _CalendarFormState extends State<CalendarForm> {
});
},
decoration: InputDecoration(
labelText: endTime == null ? '选择结束时间' : '结束时间: ${formatTime(endTime)}',
labelText: endTime == null ? '选择结束时间' : '结束时间: ',
labelStyle: TextStyle(color: Colors.grey),
prefixIcon: Icon(Icons.calendar_month, color: Colors.purple),
border: buildFormBoard(),
@@ -245,10 +244,7 @@ class _CalendarFormState extends State<CalendarForm> {
});
},
decoration: InputDecoration(
labelText:
scheduledTime == null
? '选择提醒时间'
: '提醒时间: ${formatTime(scheduledTime)}',
labelText: scheduledTime == null ? '选择提醒时间' : '提醒时间: ',
labelStyle: TextStyle(color: Colors.grey),
prefixIcon: Icon(Icons.calendar_month, color: Colors.purple),
border: buildFormBoard(),