I am making flutter web app that should generate a file from user data. And have the option to download the output file.
But I can not find any options/packages whic
Simple Code for redirecting to download URL
import 'dart:html' as html; void downloadFile(String url){ html.AnchorElement anchorElement = new html.AnchorElement(href: url); anchorElement.download = url; anchorElement.click(); }