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, [...]

example/main.dart

import 'dart:io';

import 'package:flutter/material.dart';
import 'package:image_core/image_core.dart';

Future<void> main() async {
  final File file = File('asset/example.jpg');

  UploadFile? uploadFile = await file.toUploadFileFromFile();

  debugPrint('Main | main | uploadFile: ${uploadFile.toString()}');
}
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