Update task_page.dart

This commit is contained in:
jyuesong
2022-01-14 11:11:26 +08:00
parent 363d89dab2
commit 96b9d720a5

View File

@@ -162,7 +162,7 @@ class TaskItemCell extends StatelessWidget {
},
),
QLCupertinoContextMenuAction(
child: Text("查看日志"),
child: const Text("查看日志"),
onPressed: () {
Navigator.of(context).pop();
logCron(context, ref);
@@ -238,7 +238,9 @@ class TaskItemCell extends StatelessWidget {
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(
Material(
color:Colors.transparent,
child: Text(
bean.name ?? "",
maxLines: 1,
style: TextStyle(
@@ -247,6 +249,7 @@ class TaskItemCell extends StatelessWidget {
fontSize: 18,
),
),
),
const SizedBox(
width: 5,
),
@@ -260,7 +263,9 @@ class TaskItemCell extends StatelessWidget {
),
),
const Spacer(),
Text(
Material(
color:Colors.transparent,
child: Text(
(bean.lastExecutionTime == null || bean.lastExecutionTime == 0) ? "-" : Utils.formatMessageTime(bean.lastExecutionTime!),
maxLines: 1,
style: const TextStyle(
@@ -269,12 +274,15 @@ class TaskItemCell extends StatelessWidget {
fontSize: 12,
),
),
),
],
),
const SizedBox(
height: 8,
),
Text(
Material(
color:Colors.transparent,
child: Text(
bean.schedule ?? "",
maxLines: 1,
style: const TextStyle(
@@ -283,6 +291,7 @@ class TaskItemCell extends StatelessWidget {
fontSize: 12,
),
),
),
],
),
),