amplify_api
2.16.0, released 5 weeks ago by aws-amplify.com
Amplify Flutter API plugin supporting GraphQL and REST operations.
WASM-readyRock solid
What it does
The Amplify Flutter API category plugin enables applications to perform GraphQL and REST operations against backend services. It manages network requests and integrates with the broader AWS Amplify ecosystem.
AI-written summary of version 2.16.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a Flutter app that uses AWS Amplify for backend services.
- You need to make REST or GraphQL API calls integrated with AWS authentication and models.
Skip it when
- You are not using AWS Amplify and just need a standard HTTP client.
- You prefer a lightweight REST client without the AWS dependency footprint.
Strengths
- Seamless integration with AWS Amplify backend architecture and Gen 2 outputs.
- Supports both REST and GraphQL operations out of the box across multiple platforms.
Weaknesses
- Tied tightly to the AWS Amplify ecosystem.
- Requires proper Amplify project configuration and setup.
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 6
Requires initializing the Amplify Flutter library and configuring backend credentials according to AWS documentation.
import 'package:amplify_flutter/amplify_flutter.dart';
import 'package:amplify_api/amplify_api.dart';
// Add Amplify API plugin
// await Amplify.addPlugin(AmplifyAPI());Alternatives
Packages that do the same job and could replace amplify_api.
Works with
Packages commonly used together with amplify_api: ones it builds on, ones built on it, and its own family.
- plugin_platform_interfaceamplify_api depends on itReusable base class for platform interfaces of Flutter federated plugins.
- connectivity_plusamplify_api depends on itDiscover the state of network connectivity (WiFi, mobile, ethernet) on Android, iOS, Web and desktops.
- amplify_coreamplify_api depends on itBase package containing common types and utilities for AWS Amplify Flutter packages.
- amplify_flutteramplify_api depends on itFlutter SDK for AWS Amplify services like Auth, API, Storage, and Analytics.
- amplify_api_dartamplify_api depends on itDart-only Amplify API plugin for GraphQL and REST.
- 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.