Include time in set_tile
This commit is contained in:
parent
dac65c8390
commit
852d28afcf
|
@ -20,8 +20,8 @@ class SetTile extends StatelessWidget {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return ListTile(
|
return ListTile(
|
||||||
title: Text(gymSet.name),
|
title: Text(gymSet.name),
|
||||||
subtitle:
|
subtitle: Text(DateFormat("yyyy-MM-dd HH:mm")
|
||||||
Text(DateFormat("yyyy-MM-dd").format(DateTime.parse(gymSet.created))),
|
.format(DateTime.parse(gymSet.created))),
|
||||||
trailing: Text("${gymSet.reps} x ${gymSet.weight}kg"),
|
trailing: Text("${gymSet.reps} x ${gymSet.weight}kg"),
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
await Navigator.push(
|
await Navigator.push(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user