amplify_storage_s3
2.16.0, released 5 weeks ago by aws-amplify.com
AWS S3 storage plugin for Flutter via Amplify
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.
- simple_secure_storage
Secure key‑value storage for Flutter with platform‑specific backends.
77Compare - aws_s3_upload_lite
Upload files and byte data directly to AWS S3 buckets with progress tracking.
50Compare
Works with
Packages commonly used together with amplify_storage_s3: ones it builds on, ones built on it, and its own family.
- path_provideramplify_storage_s3 depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- amplify_coreamplify_storage_s3 depends on itBase package containing common types and utilities for AWS Amplify Flutter packages.
- amplify_flutterSame familyFlutter SDK for AWS Amplify services like Auth, API, Storage, and Analytics.
- amplify_auth_cognitoSame familyAmplify Flutter Auth plugin for AWS Cognito
- amplify_analytics_pinpointSame familyAWS Pinpoint analytics plugin for Flutter
- amplify_authenticatorSame familyPrebuilt, customizable sign‑in/sign‑up UI for Amplify Auth in Flutter.
- amplify_apiSame familyAmplify Flutter API plugin supporting GraphQL and REST operations.
- amplify_api_dartSame familyDart-only Amplify API plugin for GraphQL and REST.