# flutter_secure_storage_web 2.1.1

Web implementation of flutter_secure_storage. Use flutter_secure_storage for the full flutter package.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'flutter_secure_storage_web:2.1.1'
```
Published: 2026-05-06T20:29:13.533223Z
Expected archive SHA-256: 073a62b3aeb866ab4ce795f960413948e51e5a42a9b0c8333b6daf5bb3208a1c

Available in cache; verification: upstream_checksum
## Direct dependencies
- flutter: map[sdk:flutter]
- flutter_secure_storage_platform_interface: ^2.0.0
- flutter_web_plugins: map[sdk:flutter]
- web: >=0.5.0 <2.0.0

## Package README (untrusted upstream documentation)
# flutter_secure_storage_web

This is the platform-specific implementation of `flutter_secure_storage` for web.

## Features

- Secure storage using WebCrypto.
- Application-specific key wrapping for enhanced security.

## Important Notice

This plugin only works on HTTPS or localhost environments. Ensure that proper HTTP Strict Transport Security (HSTS) headers are configured to secure your application.

## Configuration

You can use application-specific key wrapping to make keys more secure.

## Usage

Refer to the main [flutter_secure_storage README](../README.md) for common usage instructions.

## License

This project is licensed under the BSD 3 License. See the [LICENSE](../LICENSE) file for details.

## Changelog
## 2.1.1
- Fix potential key skipping in `readAll` when storage is modified concurrently during async decryption by collecting keys synchronously before awaiting.

## 2.1.0
- Updated code style
- Add check for secure context, since operations are only allowed with secure context.

## 2.0.0
Stable release containing all changes from beta releases, which are:
- This plugin requires a minimum dart sdk of 3.3.0 or higher and a minimum flutter version of 3.19.0.
- Migrate away from `html` to `web`
- Remove `js` in favor of using js-interop
- Update web dependency support to support <2.0.0 instead of <1.0.0.

Other changes:
- Migrated from lint to very_good_analysis and clean-up code.

## 2.0.0-beta.2
Update web dependency support to support <2.0.0 instead of <1.0.0.

## 2.0.0-beta.1
- Migrate away from `html` to `web`
- Remove `js` in favor of using js-interop

## 1.2.1
Reverts onCupertinoProtectedDataAvailabilityChanged and isCupertinoProtectedDataAvailable.

## 1.2.0
Updated flutter_secure_storage_platform_interface to latest version.

## 1.2.0
Updated flutter_secure_storage_platform_interface to latest version.

## 1.1.2
- Update Dart SDK Constraint to support <4.0.0 instead of <3.0.0.

## 1.1.1
Updated flutter_secure_storage_platform_interface to latest version.

## 1.1.0
- Migrated from flutter_lints to lint and applied suggestions.
- Remove pubspec.lock according to https://dart.dev/guides/libraries/private-files#pubspeclock

## 1.0.2
- Fix issue with delete key

## 1.0.1
- Fix issue with containsKey

## 1.0.0
- Initial Release of Web Implementation
- Migrated to flutter_lints







 
