web
web copied to clipboard
How can i download the file
with import 'dart:html' as html; was using this html.AnchorElement(href: url) // Set the download attribute to file name. ..setAttribute("download", "") // Trigger a click event on the anchor element to initiate the download. ..click(); and it's was working absolutely fine url: https://pdfobject.com/pdf/sample.pdf
how it'll work with web package