image_core 0.0.6
image_core: ^0.0.6 copied to clipboard
A Dart/Flutter package for standardized image and file upload handling using SOLID principles. Supports cross-platform file conversion from XFile, File, and PlatformFile to a unified UploadFile model, [...]
Changelog #
All notable changes to the image_core package will be documented in this file.
0.0.6 #
0.0.5 #
0.0.2 #
0.0.1 #
July 19, 2025 #
✨ Added #
-
BaseImageManager<TData>
abstract class withupload
,delete
,uploadIfAvailable
, anddeleteIfAvailable
methods. -
UploadFile
model class for standardized file representation. -
FileCategory
enum for file categorization. -
Extensions:
XFile.toUploadFileFromXFile()
PlatformFile.toUploadFileFromPlatformFile()
File.toUploadFileFromFile()
String?.getFileName()
String?.getFileExtension()
-
ContentTypeUtil
for resolving common content types. -
FileCategoryResolver
for deriving category from MIME type.
🧰 Initial Setup #
- Project structured with SOLID principles and clean architecture.
- Functional error handling with
dartz
andIFailure
. - Toast/report integration via
i_tdd
'shandleReport()
.