Skip to content
pubscout

uploadcare_client

7.2.1, released 10 months ago by konstantinkai.dev

A Dart library for working with the Uploadcare REST API for file uploads, analysis, and transformations.

WASM-ready
$ flutter pub add uploadcare_client
Source repository

What it does

Provides a client for the Uploadcare REST API to handle file uploads (base, chunked, URL, isolated), media processing, video encoding, document conversion, and image/file transformations for web and mobile apps.

AI-written summary of version 7.2.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to integrate Uploadcare file storage and CDN into a Dart or Flutter application.
  • You require advanced image transformations, cropping, or video processing via Uploadcare URLs.
  • You need robust file uploading features with progress tracking, cancellation, and chunked multipart uploads.

Skip it when

  • You are using a completely different backend or file storage provider like Firebase Storage or AWS S3 directly.
  • You do not need an external file handling and optimization platform.

Strengths

  • Comprehensive coverage of Uploadcare REST API features including uploads, transformations, groups, and webhooks.
  • Supports chunked multipart uploads and background uploads in isolates.
  • Extensive support for image and file transformation operations.

Weaknesses

  • Tied specifically to the Uploadcare platform.
  • Requires managing API public and private keys.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
7

Simply add the dependency to pubspec.yaml and initialize the client with your Uploadcare public key and API version.

final client = UploadcareClient.withSimpleAuth(
  publicKey: 'public_key',
  apiVersion: 'v0.7',
);
final fileId = await client.upload.fromUrl('https://files.st/path_to_file');

Alternatives

Packages that do the same job and could replace uploadcare_client.

  • cloudinary_sdk

    Pure Dart SDK for Cloudinary API, enabling signed/unsigned uploads, deletes, and URL generation.

  • cloudinary

    Pure Dart Cloudinary SDK for upload, admin, search, and signed delivery URLs.

  • chunked_uploader

    Upload files to a server in chunks using Dio for mobile, desktop, and web.

Works with

Packages commonly used together with uploadcare_client: ones it builds on, ones built on it, and its own family.