feat:增加hive数据库
This commit is contained in:
@@ -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),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user