SimpleFileSaverIos class

Inheritance
  • Object
  • PlatformInterface
  • SimpleFileSaverPlatform
  • SimpleFileSaverIos

Constructors

SimpleFileSaverIos()

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

downloadFileByBytes({required Uint8List dataBytes, String? fileName}) Future<void>
Download the file by bytes.
inherited
downloadFileByUri({required Uri uri, String? fileName}) Future<void>
Download the file by uri.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveFile({required Uint8List dataBytes, required String fileName, String? mimeType}) Future<bool>
Save the file to the default location.
override
saveFileAs({required Uint8List dataBytes, required String fileName, String? mimeType}) Future<bool>
Prompt to the users and save the file to the specified location.
override
toString() String
A string representation of this object.
inherited
webOnlyBytesDownloadLinkBuilder({required Uint8List dataBytes, String? fileName, LinkTarget target = LinkTarget.blank, required DownloadLinkBuilder builder}) Widget
Build a Link widget for the web only, and download the file by bytes
inherited
webOnlyUriDownloadLinkBuilder({required Uri uri, String? fileName, LinkTarget target = LinkTarget.blank, required DownloadLinkBuilder builder}) Widget
Build a Link widget for the web only, and download the file by Uri
inherited

Operators

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

Static Methods

registerWith() → void