Display updation timestamp on the info section
This commit is contained in:
parent
350b6423cf
commit
ce59552e86
1 changed files with 13 additions and 0 deletions
|
@ -285,6 +285,19 @@ class _DetailPageState extends State<DetailPage> {
|
|||
));
|
||||
}
|
||||
}
|
||||
if (file.uploadedFileID != null) {
|
||||
items.add(
|
||||
Padding(padding: EdgeInsets.all(4)),
|
||||
);
|
||||
items.add(Row(
|
||||
children: [
|
||||
Icon(Icons.cloud_upload),
|
||||
Padding(padding: EdgeInsets.all(4)),
|
||||
Text(getFormattedTime(
|
||||
DateTime.fromMicrosecondsSinceEpoch(file.updationTime))),
|
||||
],
|
||||
));
|
||||
}
|
||||
return AlertDialog(
|
||||
title: Text(file.title),
|
||||
content: SingleChildScrollView(
|
||||
|
|
Loading…
Add table
Reference in a new issue