feat:增加hive数据库

This commit is contained in:
2026-04-28 19:59:51 +08:00
parent db52de7b56
commit 3804164cfd
11 changed files with 490 additions and 52 deletions

View File

@@ -42,7 +42,7 @@ class TaskItem extends StatelessWidget {
const SizedBox(height: 4),
if (task.desc != null && task.desc!.isNotEmpty) _buildDesc(),
const SizedBox(height: 4),
if (task.dueDate != null || task.scheduleDate != null)
if (task.dueDate != null || task.scheduleTime != null)
_buildDate(),
],
),
@@ -97,11 +97,11 @@ class TaskItem extends StatelessWidget {
),
const SizedBox(width: 4),
],
if (task.scheduleDate != null) ...[
if (task.scheduleTime != null) ...[
Icon(FluentIcons.clock, size: 12, color: Colors.grey),
const SizedBox(width: 4),
Text(
'提醒日期: ${_formatDate(task.scheduleDate!)}',
'提醒日期: ${_formatDate(task.scheduleTime!)}',
style: TextStyle(color: Colors.grey, fontSize: 12),
),
],