fire_storage_impl 0.1.1
fire_storage_impl: ^0.1.1 copied to clipboard
A lightweight Firebase Storage implementation for Flutter apps with support for file upload, deletion, toast notifications, and localization.
Changelog #
All notable changes to this project will be documented in this file.
0.1.0 #
0.0.7 #
Jul 9, 2025 #
✅ Updated #
- Added
onProgress
callback support to file upload handling for real-time progress tracking. - Modified
UploadFile
class:- Replaced
File
andUint8List?
split input with a unifiedUint8List bytes
(required). - Added support for additional metadata like
name
,mimeType
,collectionPath
,uploadingToastTxt
,metadata
, andcontentDisposition
. - Introduced
FileCategory category
with default valueFileCategory.other
.
- Replaced
✨ Added #
- New progress callback design for uploads, enabling UI-level feedback during file transfer.
♻️ Refactored #
- Simplified upload logic by encapsulating upload data in the new
UploadFile
model. - Ensured better separation of concerns by pushing metadata handling responsibility to the caller.
0.0.6 #
Jul 10, 2025 #
✅ Updated #
uploadFile
method now supports bothFile?
andUint8List?
input.- Enforced a non-null constraint: either
file
orbytes
must be provided. - Converted
uploadFile
to use named parameters for safer invocation. - Re-added the
uploadToFirebaseStorage
extension forUint8List
-based image uploading (for web compatibility).
♻️ Refactored #
- Improved MIME type detection and fallback extension parsing.
- Centralized
PlatformException
handling for consistent toast messaging.
0.0.5+1 #
- Update dependencies.
0.0.5 #
- Remove This Files.
- file_register_get_it_di_fire_storage_data_source.
- file_use_cases_register_get_it_di.
- file_di_const_rest_api_data_source.
- file_di_const_fire_storage_data_source.
- file_model.
- file_entity.
- file_response_entity.
- file_repository_fire_storage_data_source_impl.
- i_file_repository.
- delete_file.
- upload_file.
- i_delete_file.
- i_upload_file.
- image_uploader.
0.0.4 #
- Created file UseCases Register GetIt DI.
0.0.3 #
- Created fileRegisterGetItDIFireStorageDataSource.
0.0.2 #
- Implemented Repository.
- Implemented Use cases.
- Implemented Entity.
- Registered with Get It Dependency Injection.
0.0.1 #
- Initial release of
fire_storage_impl
. - Added support for uploading files to Firebase Storage from mobile and web.
- Included toast notification support using
app_toast
. - Basic localization support with
.translateWithoutContext()
. - Provided method for deleting files from Firebase Storage.
- Included extension method for automatic file name generation.
- Added
Uint8List
extension for image uploading (for web compatibility). - Includes
FileModel
for structured file handling.