BWU Dart Archive Downloader

BWU Dart Archive Downloader makes it easy to download files like API docs, Dartium, Dartium for Android APK, Dart Eclipse plugin, or the Dart SDK from Its main purpose is to make maintenance tasks and automatic setup for continuous integration (CI) as easy as possible.


import 'dart:io' as io;
import 'package:bwu_dart_archive_downloader/bwu_dart_archive_downloader.dart';

main() async {
  // create an instance of the downloader and specify the download directory.
  final downloader = new DartArchiveDownloader(new io.Directory('temp'));

  // specify the file to download
  final file = new DartiumFile.contentShellZip(
      Platform.getFromSystemPlatform(prefer64bit: true));

  // build the uri for the download file.
  final uri =

  // start the download
  await downloader.downloadFile(uri);