web icon indicating copy to clipboard operation
web copied to clipboard

How can i download the file

Open prasanmoonraft opened this issue 8 months ago • 3 comments

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

prasanmoonraft avatar Jun 18 '24 12:06 prasanmoonraft