image_core 0.0.6 copy "image_core: ^0.0.6" to clipboard
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 #

Aug 22, 2025 #

✨ Updated #

  • Updated Dart sdk to 3.9.0
  • Removed flutter_lints Dependency
  • Updated file_picker to 10.3.1
  • Updated image_picker to 1.2.0

0.0.5 #

Aug 10, 2025 #

✨ Updated #

  • Updated file_picker version as file_picker: ^10.2.4

✨ Removed #

  • Removed BaseImageManager

0.0.4 #

Aug 8, 2025 #

✨ Updated #

  • Updated file_picker version as file_picker: ^10.2.2

0.0.3 #

July 21, 2025 #

✨ Updated #

  • Update dependency.

0.0.2 #

July 21, 2025 #

✨ Updated #

  • BaseImageManager<T> abstract class with upload, delete, uploadIfAvailable, and deleteIfAvailable methods.

0.0.1 #

July 19, 2025 #

✨ Added #

  • BaseImageManager<TData> abstract class with upload, delete, uploadIfAvailable, and deleteIfAvailable 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 and IFailure.
  • Toast/report integration via i_tdd's handleReport().
0
likes
150
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

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, file type categorization, and abstract upload/delete management via BaseImageManager.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cross_file, equatable, file_picker, flutter, image_picker, mime

More

Packages that depend on image_core