FireUploader class

Saves, gets and removes data online with FireStorage

Supports images from Asset file saveImage Supports images, audios, videos and files from bytes saveFileFromBytes Supports files from File saveFile

  • Facilitates Image selection from gallery and camera
  • Facilitates upload progress indicator as Flash Bar

Constructors

FireUploader()

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

getDownloadUrl(UploadTask uploadTask) Future<String>
getObject(String path) Future<Uint8List?>
getObjectsFromPath(String path) Future<List<String>?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
referenceFromPath(String path) → Reference
removeObject(String path) Future<bool>
Removes the file from the given path
removeObjectFromUrl(String url) Future<bool>
Remove file from Url
saveObject(String path, dynamic byteData, {String? extensionFormat, String? fileName, bool showProgress = false, BuildContext? context}) Future<String>
Uploads the selected bytes and returns file link Supports the extension format, if not set, will be set to application/octet-stream (bytes)
showDataUploadProgress(BuildContext buildContext, UploadTask uploadTask) → dynamic
toString() String
A string representation of this object.
inherited

Operators

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