dart_aliyun_oss
1.4.3, released 6 weeks ago by an unverified publisher
Dart client SDK for Alibaba Cloud Object Storage Service (OSS).
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.
- simple_secure_storage
Secure key‑value storage for Flutter with platform‑specific backends.
77Compare - flutter_onedrive
Upload, download, and manage files on Microsoft OneDrive from a Flutter app.
52Compare - storage_client
Dart client library to interact with Supabase Storage.
87Compare - minio
Unofficial MinIO and S3-compatible object storage client SDK for Dart and Flutter.
61Compare
Works with
Packages commonly used together with dart_aliyun_oss: ones it builds on, ones built on it, and its own family.
- cryptodart_aliyun_oss depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- xmldart_aliyun_oss depends on itFull-featured XML and XPath library for DOM parsing, SAX streaming, and fluent building.
- convertdart_aliyun_oss depends on itEncoders and decoders for converting between different data representations.
- diodart_aliyun_oss depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.