{"id":19580212,"url":"https://github.com/xclud/dart_download","last_synced_at":"2025-07-11T03:33:20.805Z","repository":{"id":61973148,"uuid":"402195587","full_name":"xclud/dart_download","owner":"xclud","description":"Cross-Platform file downloader for Dart and Flutter projects.","archived":false,"fork":false,"pushed_at":"2025-01-02T15:49:20.000Z","size":1226,"stargazers_count":11,"open_issues_count":5,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-25T12:54:40.107Z","etag":null,"topics":["dart","downlad","flutter","http","package"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/download","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xclud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-01T20:33:46.000Z","updated_at":"2025-04-05T07:47:05.000Z","dependencies_parsed_at":"2024-11-11T07:26:38.222Z","dependency_job_id":"7a219035-6a67-4bc9-b7e9-de0a51b6c4b7","html_url":"https://github.com/xclud/dart_download","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xclud/dart_download","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xclud%2Fdart_download","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xclud%2Fdart_download/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xclud%2Fdart_download/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xclud%2Fdart_download/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xclud","download_url":"https://codeload.github.com/xclud/dart_download/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xclud%2Fdart_download/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264721531,"owners_count":23653949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","downlad","flutter","http","package"],"created_at":"2024-11-11T07:24:10.621Z","updated_at":"2025-07-11T03:33:20.775Z","avatar_url":"https://github.com/xclud.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cross-Platform file downloader for Dart and Flutter projects.\n\n[![pub package](https://img.shields.io/pub/v/download.svg)](https://pub.dartlang.org/packages/download)\n\n## Demo\n\n[Web Demo](https://download.pwa.ir)\n\n## Features\n\nSupports these platforms:\n\n- Android\n- iOS\n- Linux\n- MacOS\n- Web\n- Windows\n\nThere are a few caveats about this package:\n\n- On the web it caches the contents in a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) and eventually saves the file in browser's default location.\n- On desktop it saves the file in absolute or relative path.\n- On mobile it saves the file in absolute or relative path, but we should ask/ensure if the app has the required permissions.\n- On the web, not supported in IE or Edge (prior version 18), or in Safari (prior version 10.1).\n\n## Getting started\n\nIn your `pubspec.yaml` file add:\n\n```dart\ndependencies:\n  download: any\n```\n\nThen, in your code import:\n\n```dart\nimport 'package:download/download.dart';\n```\n\n## Usage\n\n```dart\nfinal stream = Stream.fromIterable('Hello World!'.codeUnits);\ndownload(stream, 'hello.txt');\n```\n\nor\n\n```dart\nimport 'package:http/http.dart';\nconst url = 'http://example.com';\n\nfinal stream = get(url);\ndownload(stream, 'hello.txt');\n```\n\nPlease refer to `/example` folder for a working example.\n\n## Additional information\n\nPlease feel free to contribute to the project or file an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxclud%2Fdart_download","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxclud%2Fdart_download","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxclud%2Fdart_download/lists"}