Skip to content
pubscout

amplify_storage_s3

2.16.0, released 5 weeks ago by aws-amplify.com

AWS S3 storage plugin for Flutter via Amplify

WASM-readyRock solid
$ flutter pub add amplify_storage_s3
Source repository

What it does

Provides upload, download, list, remove, and getUrl operations for Amazon S3. It returns operation objects for advanced control and integrates with Amplify's Storage category.

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

Use it when

  • You need to store files in Amazon S3 from a Flutter app
  • You already use Amplify for other services and want a unified SDK
  • You require multi‑bucket support or wasm support for web

Skip it when

  • You need local or device‑only storage
  • You prefer a lightweight HTTP client for simple uploads
  • You are building a non‑AWS backend

Strengths

  • Integrated with Amplify ecosystem
  • Supports multi‑bucket and wasm
  • Operation objects allow cancellation and pause
  • Cross‑platform support (Android, iOS, Web, Windows, macOS, Linux)

Weaknesses

  • Requires Amplify configuration and backend setup
  • Not suitable for local storage needs
  • Adds dependency on Amplify core

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
6

Add amplify_core and amplify_storage_s3 to pubspec, run Amplify.addPlugin, configure Amplify in main, ensure AWS credentials and S3 bucket are set up in Amplify console.

final result = await Amplify.Storage.uploadFile(
  localFile: exampleFile,
  key: 'ExampleKey',
).result;
print('Uploaded file key: ${result.uploadedItem.key}');

Alternatives

Packages that do the same job and could replace amplify_storage_s3.

Works with

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