DownloadButton constructor
const
DownloadButton({
- Key? key,
- required DownloadStatus status,
- required double width,
- double downloadProgress = 0.0,
- required VoidCallback onDownload,
- required VoidCallback onCancel,
- required VoidCallback onOpen,
- Duration transitionDuration = const Duration(milliseconds: 500),
Implementation
const DownloadButton({
Key? key,
required this.status,
required this.width,
this.downloadProgress = 0.0,
required this.onDownload,
required this.onCancel,
required this.onOpen,
this.transitionDuration = const Duration(milliseconds: 500),
}) : super(key: key);