DownloadProgressIndicator constructor

const DownloadProgressIndicator(
  1. Stream<TaskUpdate> updates, {
  2. String message = '{filename}',
  3. String collapsedMessage = '{n}/{total}',
  4. bool showPauseButton = false,
  5. bool showCancelButton = false,
  6. double height = 50,
  7. int maxExpandable = 1,
  8. Color backgroundColor = Colors.grey,
  9. Key? key,
})

Implementation

const DownloadProgressIndicator(this.updates,
    {this.message = '{filename}',
    this.collapsedMessage = '{n}/{total}',
    this.showPauseButton = false,
    this.showCancelButton = false,
    this.height = 50,
    this.maxExpandable = 1,
    this.backgroundColor = Colors.grey,
    super.key});