minio
3.5.8, released a year ago by an unverified publisher
Unofficial MinIO and S3-compatible object storage client SDK for Dart and Flutter.
What it does
Provides simple APIs to interact with any Amazon S3 compatible object storage server, such as MinIO, AWS S3, or Filebase. Supports bucket operations, object uploads and downloads, presigned URLs, and bucket policies.
AI-written summary of version 3.5.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to upload, download, or manage files in an S3-compatible object storage server or MinIO.
- You want to generate presigned URLs for direct client uploads or downloads.
- You need to listen to or manage bucket notifications and policies.
Skip it when
- You need local device storage like key-value pairs or SQLite databases.
- You require an official SDK directly maintained by AWS or MinIO.
Strengths
- Supports a wide range of S3-compatible backends including AWS S3, MinIO, and Filebase.
- Provides stream-based file upload and download with progress tracking.
- Supports multiple platforms including Android, iOS, Web, Windows, macOS, and Linux.
Weaknesses
- It is an unofficial SDK, which may lead to delays in adopting new upstream features.
- Documentation outside of the README relies heavily on pub.dev documentation links.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 9
Initialize the Minio client with your endpoint, access key, and secret key. For file operations, import 'package:minio/io.dart'.
import 'package:minio/minio.dart';
void main() async {
final minio = Minio(
endPoint: 'play.min.io',
accessKey: 'Q3AM3UQ867SPQQA43P2F',
secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG',
);
await minio.putObject(
'mybucket',
'myobject',
Stream<Uint8List>.value(Uint8List(1024)),
onProgress: (bytes) => print('$bytes uploaded'),
);
}Alternatives
Packages that do the same job and could replace minio.
- simple_secure_storage
Secure key‑value storage for Flutter with platform‑specific backends.
77Compare - gsettings
Client to access GSettings database for storing user preferences on Linux.
80Compare - mysql_client_plus
Native MySQL client written in Dart with connection pooling, transactions, and TLS support.
74Compare - dart_aliyun_oss
Dart client SDK for Alibaba Cloud Object Storage Service (OSS).
52Compare
Works with
Packages commonly used together with minio: ones it builds on, ones built on it, and its own family.
- cryptominio depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- mimeminio depends on itUtilities to resolve MIME types from file names, magic bytes, and to parse multipart streams.
- xmlminio depends on itFull-featured XML and XPath library for DOM parsing, SAX streaming, and fluent building.
- intlminio depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- convertminio depends on itEncoders and decoders for converting between different data representations.
- bufferminio depends on itUtilities and classes for reading and writing byte buffers and binary data streams.