add UX to add a file, any file.

This commit is contained in:
2024-06-27 16:13:24 +02:00
parent 2466636727
commit 7a86144819
25 changed files with 231 additions and 62 deletions

View File

@@ -45,16 +45,17 @@ class _BuildFilesListState extends State<BuildFilesList> {
IconButton(
onPressed: () {
js.context.callMethod('open', [
'http://localhost:9000/mih/${widget.files[index].file_name}.pdf'
'http://localhost:9000/mih/${widget.files[index].file_name}'
]);
//print(object)
},
icon: Icon(Icons.download),
)
icon: const Icon(Icons.download),
),
],
),
content: BuildPDFView(
pdfLink:
"http://localhost:9000/mih/${widget.files[index].file_name}.pdf"),
"http://localhost:9000/mih/${widget.files[index].file_name}"),
actions: [
TextButton(
onPressed: () {