flutter_secure_storage_plus

Pub Score Pana Score Platforms

Enhanced secure storage with biometric unlock and key rotation.

Supports:

  • Android
  • iOS
  • Web (including WASM)
  • Windows
  • macOS
  • Linux

Features

  • Biometric-gated read/write operations (Face ID/Touch ID, Android Biometrics)
  • Transparent key rotation helpers
  • Secure storage using platform best practices (Keychain/Keystore/Credential Storage)
  • Web fallback with WASM-friendly APIs

WASM Compatibility

This package is compatible with Dart WASM. You can use it in Flutter web projects compiled to WASM. See the example for usage.

Installation

Add to your pubspec.yaml:

dependencies:
  flutter_secure_storage_plus: ^0.0.5

Usage

import 'package:flutter_secure_storage_plus/flutter_secure_storage_plus.dart';

final storage = FlutterSecureStoragePlus();

Future<void> example() async {
  await storage.write(key: 'token', value: 'abc', requireBiometrics: true);
  final token = await storage.read(key: 'token', requireBiometrics: true);
  print(token);
}

Example

Example usage of flutter_secure_storage_plus

API surface is evolving; see examples and docs as features land.

Roadmap

  • Biometric unlock across platforms
  • Key rotation helpers
  • Migrations from popular secure storage packages

License

MIT

Libraries

flutter_secure_storage_plus
A Flutter plugin for secure storage with biometric authentication and key rotation.
flutter_secure_storage_plus_method_channel
flutter_secure_storage_plus_platform_interface
Platform interface for flutter_secure_storage_plus implementations.
flutter_secure_storage_plus_web