fire_storage_impl 0.0.9
fire_storage_impl: ^0.0.9 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.0.7 #
Jul 9, 2025 #
✅ Updated #
- Added
onProgresscallback support to file upload handling for real-time progress tracking. - Modified
UploadFileclass:- Replaced
FileandUint8List?split input with a unifiedUint8List bytes(required). - Added support for additional metadata like
name,mimeType,collectionPath,uploadingToastTxt,metadata, andcontentDisposition. - Introduced
FileCategory categorywith 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
UploadFilemodel. - Ensured better separation of concerns by pushing metadata handling responsibility to the caller.
0.0.6 #
Jul 10, 2025 #
✅ Updated #
uploadFilemethod now supports bothFile?andUint8List?input.- Enforced a non-null constraint: either
fileorbytesmust be provided. - Converted
uploadFileto use named parameters for safer invocation. - Re-added the
uploadToFirebaseStorageextension forUint8List-based image uploading (for web compatibility).
♻️ Refactored #
- Improved MIME type detection and fallback extension parsing.
- Centralized
PlatformExceptionhandling 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
Uint8Listextension for image uploading (for web compatibility). - Includes
FileModelfor structured file handling.