xray_secure_storage_inspector
Key-value inspector for flutter_secure_storage.
Exposes flutter_secure_storage entries in the inspector UI, with support for reading, writing, and deleting values at runtime.
Installation
dependencies:
xray_inspector: ^0.0.1
xray_secure_storage_inspector: ^0.0.1
flutter_secure_storage: ^9.0.0
Usage
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:xray_secure_storage_inspector/xray_secure_storage_inspector.dart';
final inspector = XRaySecureStorageInspector(
secureStorage: const FlutterSecureStorage(),
);
Then pass it to XRayInspectorServerConfig. See Quick Start for full server setup.
Capabilities
- Read — lists all stored key-value pairs
- Write — updates a value by key
- Delete — removes a key
- Refresh — re-reads all values on demand
Security notice
This package is intended for development and QA builds only. Exposing secure storage contents over the network is a security risk. Do not include this inspector in production builds.
// Recommended: only add in debug/profile builds
if (kDebugMode) {
inspectors.add(XRaySecureStorageInspector(
secureStorage: const FlutterSecureStorage(),
));
}

