HttpDownloaderWidget constructor

const HttpDownloaderWidget({
  1. Key? key,
  2. required String url,
  3. required String path,
  4. required String fileName,
  5. Widget startDownloadWidget(
    1. Future<void> download()
    )?,
  6. Widget downloadingWidget(
    1. int progress,
    2. String downloadedMB,
    3. String contentMB
    )?,
  7. Widget? downloadedWidget,
})

Implementation

const HttpDownloaderWidget({
  super.key,
  required this.url,
  required this.path,
  required this.fileName,
  this.startDownloadWidget,
  this.downloadingWidget,
  this.downloadedWidget,
});