Overview
A Dart-only implementation of Amplify's secure storage, designed for cross-platform apps. It leverages dart:ffi on desktop platforms and dart:html on web to securely store sensitive data like tokens and credentials. This package ensures consistent behavior across iOS, Web, macOS, Windows, and Linux by abstracting platform-specific security mechanisms. Ideal for developers using Amplify in Flutter applications who need secure, encrypted local storage without native code dependencies.
Use cases
- Storing authentication tokens
- Securely saving user credentials
- Persisting encryption keys
- Managing session data
- Supporting multi-platform apps with secure storage
Key features
- Dart-only implementation
- Uses dart:ffi for desktop
- Uses dart:html for web
- Cross-platform compatibility
- Encrypted local storage
Suitable for
- Flutter apps targeting multiple platforms
- Apps requiring secure local data persistence
- Amplify-powered applications
- Developers avoiding native code
- Web and desktop-focused Flutter projects
Considerations
- Requires Flutter 3.0 or higher
- Limited to platforms supported by dart:ffi and dart:html
- No native iOS/Android SDK dependency
- Security depends on underlying platform implementations
- Not suitable for high-performance, low-level storage needs