Skip to content
pubscout

dart_aliyun_oss

1.4.3, released 6 weeks ago by an unverified publisher

Dart client SDK for Alibaba Cloud Object Storage Service (OSS).

Unverified publisher
$ flutter pub add dart_aliyun_oss
Source repository

What it does

Provides APIs to interact with Alibaba Cloud OSS for file uploading, downloading, multipart uploads, signed URLs, and managing objects. Supports both V1 and V4 signature algorithms and STS temporary tokens.

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

Use it when

  • You need to store and retrieve files in Alibaba Cloud OSS from a Flutter or Dart app.
  • You need resumable or multipart uploads for large files.

Skip it when

  • You are using a different cloud storage provider such as AWS S3, Firebase Storage, or Supabase.
  • You require device-local storage like SQLite or shared preferences.

Strengths

  • Supports multipart and resumable uploads with progress monitoring.
  • Supports V1 and V4 signature algorithms and STS temporary tokens.
  • Multi-instance support for different buckets or credentials.

Weaknesses

  • Specific to Alibaba Cloud OSS backend infrastructure.
  • Incomplete multipart uploads must be managed or cleaned up manually or via bucket lifecycle rules.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
4

Configure OSS endpoint, region, bucket name, and credentials (AccessKey or STS token).

final oss = OSSClient(
  OSSConfig.static(
    endpoint: 'your-endpoint.aliyuncs.com',
    region: 'your-region',
    accessKeyId: 'your-access-key-id',
    accessKeySecret: 'your-access-key-secret',
    bucketName: 'your-bucket-name',
  ),
);
await oss.putObject(File('path/to/file.txt'), 'example/file.txt');

Alternatives

Packages that do the same job and could replace dart_aliyun_oss.

Works with

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