DownloadViewer class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

downloadAndViewFile(BuildContext context, {required String downloadUrl, required String fileName, required String downloadFolderName, bool displayInNativeApp = true, bool useDefaultProgressDialog = true, bool useBuiltInPreviewer = true, required dynamic onDownloadProgress(Stream<String>), required DownloadFailedCallback onDownloadFailed, required DownloadCompleteCallback onDownloadComplete, void customPreviewBuilder(String, String)?, Widget? progressWidget}) Future<void>
Downloads the document using the provided downloadUrl.