storage_client
2.8.1, released 7 weeks ago by supabase.io
Dart client library to interact with Supabase Storage.
What it does
Allows managing files stored in S3 through Supabase, utilizing Postgres for permission handling. Provides features like bucket CRUD operations, file streaming downloads, and caching control.
AI-written summary of version 2.8.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are using Supabase as your backend service
- You need to upload, download, and manage files in S3 buckets with Postgres-managed permissions
Skip it when
- You only need local device storage like SQLite or shared preferences
- You are using a completely different backend provider like Firebase
Strengths
- Direct integration with Supabase Storage and Postgres permissions
- Supports streaming file downloads and pagination
- WASM-compatible
Weaknesses
- Tightly coupled to the Supabase ecosystem
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
not documented
Alternatives
Packages that do the same job and could replace storage_client.
- simple_secure_storage
Secure key‑value storage for Flutter with platform‑specific backends.
77Compare - idb_shim
Cross-platform IndexedDB implementation for Dart and Flutter.
87Compare - drift_postgres
Postgres implementation and APIs for the drift database package.
69Compare - cross_local_storage
SharedPreferences wrapper for Mobile, Web, and Desktop with JSON file storage support.
49Compare
Works with
Packages commonly used together with storage_client: ones it builds on, ones built on it, and its own family.
- mimestorage_client depends on itUtilities to resolve MIME types from file names, magic bytes, and to parse multipart streams.
- loggingstorage_client depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- supabaseBuilt on storage_clientDart client for Supabase, usable in non-Flutter Dart environments.