mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Download attachments and open
- Uses package "open_file"
This commit is contained in:
parent
4243876111
commit
e31158a966
8 changed files with 113 additions and 6 deletions
|
|
@ -526,6 +526,12 @@ class InvenTreeAttachment extends InvenTreeModel {
|
|||
}
|
||||
}
|
||||
|
||||
Future<void> downloadAttachment() async {
|
||||
|
||||
await InvenTreeAPI().downloadFile(attachment);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue