DownloadMediaBuilder constructor
const
DownloadMediaBuilder({
- Key? key,
- required String url,
- void onInitialize(
- DownloadMediaBuilderController controller
- Widget onSuccess(
- DownloadMediaSnapshot snapshot
- Widget onLoading(
- DownloadMediaSnapshot snapshot
- Widget onError(
- DownloadMediaSnapshot snapshot
- Widget onCancel(
- DownloadMediaSnapshot snapshot
- Widget onEncrypting(
- DownloadMediaSnapshot snapshot
- Widget onDecrypting(
- DownloadMediaSnapshot snapshot
- String? encryptionPassword,
- bool autoDownload = true,
- Widget onInitial(
- DownloadMediaSnapshot snapshot
Implementation
const DownloadMediaBuilder({
Key? key,
required this.url,
this.onInitialize,
this.onSuccess,
this.onLoading,
this.onError,
this.onCancel,
this.onEncrypting,
this.onDecrypting,
this.encryptionPassword,
this.autoDownload = true,
this.onInitial,
}) : super(key: key);