So I've got a service that requires a HTTP GET with a Bearer token in the authorization header, which responds with a file.
What I want, is for the app to pop up the browsers standard file save dialog and download the file.
I've tried searching around a bit and so far can only find references to saving on mobile devices and the odd post reminding me that I can't use dart:io from the web.
Has anyone done this before, or know a likely avenue of approach?
I'm currently thinking that I'll likely have to do some javascript voodoo involving file URLs (though I'd rather not, some of these files can be large-ish, 10's of MB)