Skip to content
pubscout

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
$ flutter pub add amplify_api
Source repository

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.

  • dio

    If you need a powerful, standalone HTTP client for general REST APIs without AWS dependencies.

  • http

    If you want a simple, official basic HTTP client package for standard REST requests.

  • grpc

    If your backend communicates via gRPC rather than standard REST or GraphQL.

Works with

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