Skip to content
pubscout

amplify_flutter

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

Flutter SDK for AWS Amplify services like Auth, API, Storage, and Analytics.

WASM-readyRock solid
$ flutter pub add amplify_flutter
Source repository

What it does

Provides a unified interface to interact with AWS Amplify backend services from Flutter apps. Supports authentication, data APIs (REST/GraphQL), file storage, analytics, and push notifications across mobile, web, and desktop platforms.

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 integrate multiple AWS services (Auth, API, Storage, Analytics) in a Flutter app
  • Cross‑platform support (iOS, Android, Web, Windows, macOS, Linux) is required
  • You prefer a single package that abstracts AWS Amplify functionality

Skip it when

  • You only need a lightweight, single‑service client (e.g., only Auth) and want a smaller dependency footprint
  • Your project targets platforms not listed as supported (e.g., embedded devices)

Strengths

  • Comprehensive coverage of AWS Amplify features
  • Consistent API across all supported platforms
  • Active maintenance and frequent updates

Weaknesses

  • Large package size due to many bundled services
  • Requires native setup for each platform (e.g., AWS credentials, platform‑specific config)

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
5

Add Amplify plugins (e.g., Auth, Storage) in native code, configure AWS resources, and call Amplify.configure() before use. May need platform‑specific permissions (e.g., internet, push notifications).

import 'package:amplify_flutter/amplify.dart';
import 'package:amplify_auth_cognito/amplify_auth_cognito.dart';

Future<void> main() async {
  await Amplify.addPlugin(AmplifyAuthCognito());
  await Amplify.configure('''{...your amplifyconfiguration JSON...}''');
  // Sign in example
  final result = await Amplify.Auth.signIn(username: 'user', password: 'pass');
}

Works with

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