amplify_datastore
2.16.0, released 5 weeks ago by aws-amplify.com
Amplify Flutter DataStore plugin for queryable on-device data storage
What it does
Provides a local, queryable data store that syncs with AWS Amplify backend. It supports CRUD operations and offline sync across Android and iOS devices.
AI-written summary of version 2.16.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Need offline-capable data storage with sync to Amplify backend
- Require queryable local data store
- Want to use Amplify DataStore API in Flutter
Skip it when
- Only need simple key-value storage
- Target web or desktop platforms
- Using a different backend like Firebase
Strengths
- Built-in offline sync with Amplify
- Queryable API with filtering and sorting
- Supports both Android and iOS
Weaknesses
- No web, Windows, macOS, or Linux support
- Requires Amplify configuration and setup
- Limited to Amplify ecosystem
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 6
Add package to pubspec, run flutter pub get, configure Amplify in main.dart, run pod install for iOS, rebuild app
// Example omittedAlternatives
Packages that do the same job and could replace amplify_datastore.
- drift
Drift is a reactive library to store relational data in Dart and Flutter applications.
99Compare - flutter_secure_storage_x
API to store data securely using native device storage like Keychain and KeyStore.
78Compare - hive_local_storage
A wrapper around hive_ce for easy local data storage and encryption.
70Compare - encrypted_shared_preferences
Stores shared preferences as encrypted values on device storage.
48Compare
Works with
Packages commonly used together with amplify_datastore: ones it builds on, ones built on it, and its own family.
- asyncamplify_datastore depends on itUtility classes and helpers that extend Dart's async library.
- plugin_platform_interfaceamplify_datastore depends on itReusable base class for platform interfaces of Flutter federated plugins.
- amplify_coreamplify_datastore 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.