mirror of
https://github.com/inventree/inventree-app.git
synced 2025-08-06 04:31:43 +00:00
Download attachments and open
- Uses package "open_file"
This commit is contained in:
@@ -526,6 +526,12 @@ class InvenTreeAttachment extends InvenTreeModel {
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> downloadAttachment() async {
|
||||
|
||||
await InvenTreeAPI().downloadFile(attachment);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user