cloudinary_sdk
5.0.1, released 7 days ago by dev.lamt.dev
Pure Dart SDK for Cloudinary API, enabling signed/unsigned uploads, deletes, and URL generation.
What it does
Provides a Cloudinary client that can upload files (signed or unsigned), delete single or multiple resources, and construct transformed image URLs. It supports progress callbacks and optional custom API URLs.
AI-written summary of version 5.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- Uploading media to Cloudinary from a server or Flutter app
- Managing Cloudinary assets (delete, list, transform URLs)
- When you need a lightweight, pure Dart solution without UI widgets
Skip it when
- You need a full-featured image editor or UI widget set
- You are targeting a different cloud storage provider
Strengths
- Supports both signed and unsigned uploads
- Progress callbacks for upload monitoring
- Batch upload and delete helpers
- Pure Dart, works on all platforms
Weaknesses
- Only works with Cloudinary
- No UI components or image editing features
- Requires API key/secret for signed uploads
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Add cloudinary_sdk to pubspec, import, instantiate Cloudinary.full or Cloudinary.basic, then call upload/delete methods
final cloudinary = Cloudinary.full(apiKey: key, apiSecret: secret, cloudName: name);
final response = await cloudinary.uploadResource(
CloudinaryUploadResource(filePath: path, fileBytes: bytes, resourceType: CloudinaryResourceType.image, folder: 'myfolder', fileName: 'img.png'));
if (response.isSuccessful) print(response.secureUrl);Alternatives
Packages that do the same job and could replace cloudinary_sdk.
- cloudinary
Pure Dart Cloudinary SDK for upload, admin, search, and signed delivery URLs.
71Compare - tusc
A pure Dart tus client for resumable file uploads.
67Compare - chunked_uploader
Upload files to a server in chunks using Dio for mobile, desktop, and web.
42Compare - uploadcare_client
A Dart library for working with the Uploadcare REST API for file uploads, analysis, and transformations.
52Compare
Works with
Packages commonly used together with cloudinary_sdk: ones it builds on, ones built on it, and its own family.