FLUTTER ECOSYSTEM

flutter_secure_storage

A Flutter plugin for securely storing sensitive data using encrypted storage.

Latest version
11.2.0
30-day downloads
4.5M
Likes
4.5K
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Flutter Secure Storage is a Flutter plugin that enables secure, encrypted storage of sensitive data across multiple platforms. It leverages native secure storage mechanisms—such as Android's Keystore, iOS's Keychain, and platform-specific secure containers—to protect data from unauthorized access. The package provides a simple key-value interface for storing strings, making it ideal for credentials, tokens, and other confidential information. It ensures data persistence while maintaining high security standards. Compatible with Android, iOS, Web, macOS, Windows, and Linux, it offers cross-platform consistency without compromising on security.

Use cases
  • Storing authentication tokens
  • Saving user credentials securely
  • Persisting encryption keys
  • Managing API secrets
  • Securing session data
  • Protecting sensitive user information
Key features
  • Encrypted storage using native APIs
  • Cross-platform compatibility
  • Simple key-value interface
  • Automatic data persistence
  • Secure handling of sensitive data
  • Supports all major desktop and mobile platforms
Suitable for
  • Apps requiring secure data storage
  • Authentication systems
  • Password managers
  • Token-based authorization
  • Privacy-focused applications
  • Enterprise-level security needs
Considerations
  • Not suitable for large datasets
  • Data cannot be easily backed up or migrated
  • Limited to string values
  • Requires proper error handling for failed operations
  • Depends on platform-specific security implementations
  • No built-in data expiration or cleanup
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add flutter_secure_storage

Categories

Dependencies

Dependency list 6 items
  • flutter_secure_storage_darwin^0.4.0
  • flutter_secure_storage_linux>=3.0.1 <5.0.0
  • flutter_secure_storage_platform_interface^2.1.0
  • flutter_secure_storage_web^2.1.1
  • flutter_secure_storage_windows^4.2.2
  • meta^1.16.0

Related projects

Rankings